|
Tiberian Technologies Scripts Reference Revision: 9000
|
Vehicle Turret Spawner Variant (Enter/Exit Customs & Health Link) More...
#include <jfwveh.h>
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.
| Turret_Preset | Name of the preset to be spawned |
| Bone_Name | Name of the bone on the object to attach the spawned preset to |
| Explosion_Preset | Name of an explosion preset to create when the object is destroyed, this is used to destroy the spawned turret |
| Explosion_Bone | Name of the bone on the object to create the explosion at |
| Driver_Entered_Custom | ID of the custom message to be sent when a driver enters the vehicle |
| Driver_Exited_Custom | ID of the custom message to be sent when the driver leaves the vehicle |