Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
List of all members
JFW_Turret_Spawn_3 Class Reference

Vehicle Turret Spawner Variant (Enter/Exit Customs & Health Link) More...

#include <jfwveh.h>

Detailed Description

Author
jonwil, Daniel Paul (danpa.nosp@m.ul88.nosp@m.@yaho.nosp@m.o.co.nosp@m..uk)

This is a variant of the basic JFW_Turret_Spawn_2 script with the added ability to send custom messages to the turret object when a driver enters or exits the vehicle. Additionally it links the health of the turrets with that of the vehicle body so any damage taken is applied to both.

Parameters
Turret_PresetName of the preset to be spawned
Bone_NameName of the bone on the object to attach the spawned preset to
Explosion_PresetName of an explosion preset to create when the object is destroyed, this is used to destroy the spawned turret
Explosion_BoneName of the bone on the object to create the explosion at
Driver_Entered_CustomID of the custom message to be sent when a driver enters the vehicle
Driver_Exited_CustomID of the custom message to be sent when the driver leaves the vehicle
Note
The Driver_Exited_Custom custom will be sent to the spawned turret as soon as it is created