Moving multiple objects at one time
#1

Hi guys,

I have a question about moving obejcts.

I want to move more then 1 object at the same time from point A to B and B to A.
I also wanted to do it with one timer.

My question:
How can I move multiple objects at 1 time? and back?

Do I have to do smthing like:
pawn Код:
Move1 = (CreateObject .....); //from A
Move1 = (CreateObject......); //From A

Move2 = (CreateObject .....); //To B
Move2 = (CreateObject......); //To B

Forward Move1
public OnGameModeInit()
{
    SetTimer("Move1", 1000, false); // Set a timer of 1000 miliseconds (1 second)
}

public Move1()
{
    MoveObject(Move1, 3.0, Move2)
}
Please tell me how I can do this.

Thanks!

Jer
Reply


Messages In This Thread
Moving multiple objects at one time - by jeremy8810 - 06.09.2012, 19:14
Re: Moving multiple objects at one time - by Hyperfire - 06.09.2012, 20:09
Re: Moving multiple objects at one time - by jeremy8810 - 06.09.2012, 21:14
Re: Moving multiple objects at one time - by Hyperfire - 06.09.2012, 21:48
Re: Moving multiple objects at one time - by jeremy8810 - 07.09.2012, 06:10
Re: Moving multiple objects at one time - by Hyperfire - 08.09.2012, 18:29

Forum Jump:


Users browsing this thread: 3 Guest(s)