Random Timer
#2

You could use a 'timer function' that uses variables to know which walls he should move.
You need to be a bit experienced with timers though.

Little example:

forward ObjectTimer();
public ObjectTimer()
{
MoveObject(objectid, Float:X,Float:Y,Float:Z, Moving Speed);
return 1;
}

public OnGameModeInit()
{
SetTimer("ObjectTimer, 5000, true);
return 1;
}

This is just a minor example how to move an object in 5 seconds.
You can use 'variables' ( new ...; ) to let the script figure out where the object should move to.
Reply


Messages In This Thread
Random Timer - by knackworst - 25.10.2010, 19:03
Re: Random Timer - by Jack Shred - 25.10.2010, 19:20
Re: Random Timer - by knackworst - 25.10.2010, 19:23
Re: Random Timer - by dark_clown - 25.10.2010, 19:25
Re: Random Timer - by Jack Shred - 25.10.2010, 19:27
Re: Random Timer - by knackworst - 25.10.2010, 19:32
Re: Random Timer - by Jack Shred - 25.10.2010, 19:35
Re: Random Timer - by knackworst - 25.10.2010, 19:35
Re: Random Timer - by dark_clown - 25.10.2010, 19:42

Forum Jump:


Users browsing this thread: 2 Guest(s)