|
Tiberian Technologies Scripts Reference Revision: 9000
|
Weapon Switch on Keyhook - Vehicle. More...
#include <jfwweap.h>
This script allows the driver of a vehicle to swap the weapon being used by the vehicle for an alternative one by pressing a key. Pressing the key again will restore the original weapon.
| Powerup | The name of a powerup preset which grants the alternative weapon |
| Keyhook | The name of the keyhook binding to trigger the weapon swap |
| SwitchTime | The amount of time the weapon swap takes, in seconds. During this time the player will be able to fire either weapon. |
| OldSound | The name of a sound preset to play when switching to the original vehicle weapon |
| NewSound | The name of a sound preset to play when switching to the alternative weapon |