Is it possible?
#4

Use callback OnObjectMoved and use var. Example:

pawn Код:
new object, move;

object = CreateObject(...);
move = 0;

// Into script

MoveObject(object, ...);
move = 1;

// Into callback OnObjectMoved

if(objectid == object)
{
switch(move)
{
case 1:
{
MoveObject(...) // Insert new coordinates
move = 2;
}
case 2:
{
MoveObject(...) // Other coordinates
move = 3;
}
case 3:
{
MoveObject(...) // Other coordinates
move = 4;
}
case 4:
{
MoveObject(...) // Other coordinates
move = 0;
}
}
Reply


Messages In This Thread
Is it possible? - by Outcast - 10.01.2012, 12:41
Re: Is it possible? - by mitosking - 10.01.2012, 12:44
Re: Is it possible? - by Outcast - 10.01.2012, 12:51
Re: Is it possible? - by mitosking - 10.01.2012, 12:57
Re: Is it possible? - by Outcast - 10.01.2012, 14:15

Forum Jump:


Users browsing this thread: 2 Guest(s)