Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » defenses fire at each other
Re: defenses fire at each other [message #466629 is a reply to message #466586] Wed, 25 April 2012 07:27 Go to previous messageGo to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

Try
if (Get_Vehicle_Mode(obj) == VEHICLE_TYPE_TURRET)
{
//blah
}

You will need to #include "VehicleGameObjDef.h"


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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Have their been any good moddable first person games since Renegade?
Next Topic: scripts when changing character
Goto Forum:
  


Current Time: Mon Dec 23 09:46:01 MST 2024

Total time taken to generate the page: 0.01273 seconds