Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
onEnter does nothing? [SOLVED]
DamnNoHtml Offline
Senior Member

Posts: 469
Threads: 34
Joined: Sep 2010
Reputation: 16
#1
onEnter does nothing? [SOLVED]

Hey there, I want a room in my story to be visited multiple times. Each time you visit, I want a simple thing to happen:

void onEnter()
{
    PlayMusic("ending_daniel.ogg",false, 100, 1, 1, false);
    FadeSepiaColorTo(1, 2);
}

Why in the hell would that not work? And don't say put it in void onStart, because that only runs once.

Creator of Wake, Through the Portal, Insomnia, and Cycles What to do with HPL3....
09-29-2010, 08:24 PM
Find
Placeable Offline
Junior Member

Posts: 21
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: onEnter does nothing?

Because its OnEnter() with a capital O, not onEnter().
Try it.
09-29-2010, 08:36 PM
Find
DamnNoHtml Offline
Senior Member

Posts: 469
Threads: 34
Joined: Sep 2010
Reputation: 16
#3
RE: onEnter does nothing?

[Image: facepalm.jpg]

Creator of Wake, Through the Portal, Insomnia, and Cycles What to do with HPL3....
09-29-2010, 08:41 PM
Find




Users browsing this thread: 1 Guest(s)