Activate script on game startup

Started by niGGo, Thu 23/07/2009 15:17:12

Previous topic - Next topic

niGGo

Hey folks,

having a problem with activating a script on game startup. I want my main character to go into the middle of the screen by using "MovePlayer" function and say something about the story and what's going on, but I just don't manage it. I don't know how I let the game know that all this should happen at the beginning of the game, before anything else.

Does anyone have an idea?

Best regards
niGGo

Khris

Use the first room's "player enters screen (after fadein)" event.

game_start is run even before the first room is loaded into memory and only suitable for setting up variables and the like.

niGGo


SMF spam blocked by CleanTalk