wf/air waypoint end [message #465212] |
Sun, 01 April 2012 04:59 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
is it possible to get the coordinates for one of the three waypoint ends trough scripts?
Owner of kambot TT server
kambot.freeforums.org
|
|
|
Re: wf/air waypoint end [message #465220 is a reply to message #465212] |
Sun, 01 April 2012 07:11 |
|
No its not possible.
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: wf/air waypoint end [message #465272 is a reply to message #465269] |
Sun, 01 April 2012 20:10 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
Jerad Gray wrote on Mon, 02 April 2012 04:26 | Lol, wish I would have asked that yesterday when I was trying to find them as objects.
|
i thought about trying it to
but i opened a multiplayer map in level edit and noticed it wasnt really a object
Owner of kambot TT server
kambot.freeforums.org
|
|
|
|
Re: wf/air waypoint end [message #465337 is a reply to message #465212] |
Mon, 02 April 2012 11:19 |
|
The only items that exist as "objects" (i.e. have a GameObject instance behind them) are:
Air Factory
Airstrip
Beacon
<Generic Building>
C4
Cinematic
Com Center
Construction Yard
Damage Zone
Mendoza Boss
Naval Factory
Power Plant
PowerUp
Raveshaw Boss
Refinery
Repair Bay
Sakura Boss
SAMSite
Script Zone
Simple
Soldier Factory
Soldier
Special Effects
Transition
Vehicle Factory
Vehicle
WarFactory
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: wf/air waypoint end [message #465366 is a reply to message #465212] |
Mon, 02 April 2012 17:42 |
|
It stores the location in some other data structure.
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: wf/air waypoint end [message #465693 is a reply to message #465212] |
Sat, 07 April 2012 06:58 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
can i find the vehicle delivery zone?(dont know correct name)
if i can is it always face the same direction, the direction vehicles are delivered.
Owner of kambot TT server
kambot.freeforums.org
|
|
|
Re: wf/air waypoint end [message #465699 is a reply to message #465212] |
Sat, 07 April 2012 08:43 |
|
VehicleFactoryGameObj.Get_Creation_TM is what you want, that is the position/orientation of the car object placed in LE.
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: wf/air waypoint end [message #465703 is a reply to message #465699] |
Sat, 07 April 2012 11:14 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
jonwil wrote on Sat, 07 April 2012 17:43 | VehicleFactoryGameObj.Get_Creation_TM is what you want, that is the position/orientation of the car object placed in LE.
|
i got the position but cant seem to get the facing out of it
EDIT:
could it be that Z rotation is the the same as Commands->Get_Facing()
Owner of kambot TT server
kambot.freeforums.org
[Updated on: Sat, 07 April 2012 11:18] Report message to a moderator
|
|
|
Re: wf/air waypoint end [message #465717 is a reply to message #465212] |
Sat, 07 April 2012 18:12 |
|
yes, z rotation is the same as facing.
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: wf/air waypoint end [message #465790 is a reply to message #465212] |
Mon, 09 April 2012 06:49 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
how does the game now wich facing a veh should have when its created.
because what i do now sometimes places the veh behind the wf and sometimes in front depending on the map wich is kinda anoying.
Owner of kambot TT server
kambot.freeforums.org
|
|
|
Re: wf/air waypoint end [message #465798 is a reply to message #465212] |
Mon, 09 April 2012 09:56 |
|
The best you will get is to call VehicleFactoryGameObj::Get_Creation_TM then call Get_Z_Rotation on that and pass the results to Set_Facing.
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: wf/air waypoint end [message #465803 is a reply to message #465798] |
Mon, 09 April 2012 10:37 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
i was doing that but
i might have an idea:
on harv create set facing of the VehicleFactoryGameObj::Get_Creation_TM to the facing of the harv
gonna try it out later
Owner of kambot TT server
kambot.freeforums.org
|
|
|