Setting character idle delay

Started by , Sun 20/02/2005 19:46:12

Previous topic - Next topic

Chump

I know what the script is for changing idle delay
{SetCharacterIdle(WHATEVER, VIEW NUMBER, SECONDS OF DELAY);}
but I don't know where to write it down in the game. I wrote it at the end of the global script and it didn't work.

x_traveler_x

Yeah, I don't see how puting that in the global script would do anything.

Unless I'm mistaken, I believe you would put that in whatever room want the delay to change.  If you want to change it right when the game begins, then you would put it in your first room's interaction script before the fadein.

Click Room Editor, then click Settings, then click the "i" button.

Let me know if that helps!
~~- - -. . .finding a cure for mundanity. . . - - -~~

Chump


monkey0506

Quote from: x_traveler_x on Sun 20/02/2005 20:51:33
If you want to change it right when the game begins, then

Perhaps a better method would be to put it in the "game_start" function in the global script.  If you change the room the game starts in you would have to move the code to the new room (and if you forgot it wouldn't be executed until the room it was in was loaded).  So, it's safer to put it there, because that executes at the start of the game, no matter what room loads first.

x_traveler_x

Very true.  Thanks for pointing that out.
~~- - -. . .finding a cure for mundanity. . . - - -~~

SMF spam blocked by CleanTalk