[Question Of Scripting] CreateObject/MoveObject
#4

MoveObject uses the ID of the object, not the modelid that the objects use, are you sure this is what you are using? You can store the objectid in an array, like so:

pawn Код:
new Variable[10];

Variable[0] = CreateObject(....);
Variable[1] = CreateObject(....);
Then you can move them by referring to Variable[id] for the objectid, like so:

pawn Код:
MoveObject(Variable[0],................);
Hope that helps you
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)