|
Tiberian Technologies Scripts Reference Revision: 9000
|
Makes a unit switch its gun to a secondary gun whenever the ammo count in its primary clip runs out \PrimaryWeapon - Weapon that the game watches to see if its clip is empty \SecondaryWeapon - Weapon that is switched to while the primary weapon is "reloading" \ReloadTime - How long it takes to reload the primary weapon \PrimaryToSecondaryTime - Time it takes to play the animation to switch to the secondary weapon \SecondaryToPrimaryTime - Time it takes to play the animation to switch to the primary weapon \IdlePrimaryAnim - Animation to play while using the primary weapon \IdleSecondaryAnim - Animation to play while using the secondary weapon \PrimaryToSecondaryAnim - Animation to play while switching to the secondary weapon \SecondaryToPrimaryAnim - Animation to play while switching to the primary weapon \PrimaryToSecondarySound - Sound to play while switching to the secondary weapon \SecondaryToPrimarySound - Sound to play while switching to the primary weapon. More...
#include <jmgUtility.h>