[Scripting Help] GetObjectPos
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
What do you mean? You can create new objects and store their objectid to the array.

PS: When you destroy an object, it's good to set the variable (for that object) to INVALID_OBJECT_ID.
pawn Код:
DestroyObject(Tree[object_id]);
Tree[object_id] = INVALID_OBJECT_ID;
Ok thank you, I resolved the problem. +REP
Reply


Messages In This Thread
Help - how to create a object when is destroyed - by diego200052 - 18.06.2014, 16:26
Re: [Scripting Help] GetObjectPos - by Konstantinos - 18.06.2014, 16:35
Re: [Scripting Help] CreateObject - by diego200052 - 18.06.2014, 17:23
Re: [Scripting Help] CreateObject - by Konstantinos - 18.06.2014, 17:44
Re: [Scripting Help] CreateObject - by diego200052 - 18.06.2014, 17:59

Forum Jump:


Users browsing this thread: 2 Guest(s)