ok it's like this. I've got a guy laying on a beach, passed out...after a few seconds i want to display a message
this is how the script looks like...why won't it work?
// script for Room: First time player enters screen
SetTimer(1,3000);
if (IsTimerExpired(1)== 1) {
DisplayMessage(1);
}
You will have to call IsTimerExpired in the Repeatedly_Execute. If you call it in the First Time player enters screen script it will only check once, in the very first cycle (and thus never get to 3000).
i tried that to but...no message appearing
[obvious]You didn't put the timer declaration (SetTimer(1,3000);) in rep_ex as well, did you?
Also, are you waiting long enough? Assuming you haven't changed the game speed, 3000 loops is 1min 15, a little longer than 'a few seconds' in my book.[/obvious]
EDIT: So, I'm guessing one of them did it?
ah ok...thanks
That works fine but...when the message has been displayed i want to play an animation of the character standing up...but the scripteditor have no "play quickanimation" function...or am i just a total newbie?
Edit:
got it working...you may lock this thread now. Thanks!!! ;D