Commands->Set_Position() [message #466391] |
Thu, 19 April 2012 15:55 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
it doesnt work for all objects?
it does work for players but ive used it on a "gunboat" with his model changed but it wont move at all
Owner of kambot TT server
kambot.freeforums.org
|
|
|
|
Re: Commands->Set_Position() [message #466414 is a reply to message #466391] |
Fri, 20 April 2012 07:18 |
|
Whether Set_Position works depends on what object type the object is.
If it is any of the following object types AND it has a valid physics object (i.e. Peek_Physical_Obj() returns a valid value), Set_Position will work on it:
Beacon
C4
Cinematic
Mendoza Boss
PowerUp
Raveshaw Boss
Sakura Boss
SAMSite
Simple
Soldier
Special Effects
Vehicle
It will not work on any other object types including spawners or tiles.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: Commands->Set_Position() [message #466440 is a reply to message #466391] |
Sat, 21 April 2012 07:52 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
Whats Peek_Physical_Obj() is it the same as Peek_Physical_Object()?
and how do i test for a valid value?
Owner of kambot TT server
kambot.freeforums.org
|
|
|
Re: Commands->Set_Position() [message #466442 is a reply to message #466391] |
Sat, 21 April 2012 08:26 |
|
Yes, I meant to type Peek_Physical_Object() and if it returns zero there is no valid phys object otherwise there is.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|