06.09.2012, 19:14
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:
Please tell me how I can do this.
Thanks!
Jer
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)
}
Thanks!
Jer