Moving an object without pausing the game? (Solved!)

Started by Oz, Sun 21/11/2004 15:27:31

Previous topic - Next topic

Oz

Is there any way I can move an object (MoveObjectDirect) without the game being paused or do I have to make the object a character in order to be able to do this (MoveCharacter)? I'm looking to have small things moving around in the backgrounds (birds flying by, cars passing, etc).
Diversity is divine!

Pumaman

MoveObjectDirect doesn't pause the game. Can you post the script you're using?

Oz

I found out what I was doing wrong. I had a 'wait(100);' line holding up the rest of the script. Is there any other way I could delay an event? I want an object to move across the screen about 10 seconds after the player has entered the room. I figure I should be able to do this by setting up a timer of some sort. I'll look around the forums for info on this!
Diversity is divine!

Oz

Ah! No problem using SetTimer and IsTimerExpired. "Problem" solved.
Diversity is divine!

SMF spam blocked by CleanTalk