|
Tiberian Technologies Scripts Reference Revision: 9000
|
Dynamic Spawner - Vehicle Spawner. More...
#include <dp88_misc.h>
A spawner for use in the Dynamic Spawners set of scripts, this spawner allows the player to spawn inside a vehicle which will be created for them at the location of this spawner.
You can optionally have the vehicle attached to a cinematic upon creation, allowing for a delivery animation or other special features. The vehicle will be immune to damage until the cinematic sends a custom to enable damage events. The vehicle will be attached to the cinematic in slot 0.
| Weighting | The weighting for this spawner in the controller, higher numbers will favour this spawner over other available spawners. This should be a value between 1 and 10 |
| Team | The 0 based index of the team which can use this spawner |
| Vehicle_Preset | Specifies the vehicle preset to spawn for the player. You can use a twiddler here to randomise the vehicle the player spawns with. |
| Infantry_Preset | Optional, specifies an infantry preset to spawn the player. You can use a twiddler here to randomise the infantry unit the player spawns with. |
| Exclusive | Optional, if you set this to 1 the spawner will be disabled until the player who last spawned at it dies. This is useful for creating single-instance special units or restricting the number of players in an area |
| Cinematic | Optional, specifies the name of a Cinematic which will be used to deliver the vehicle |