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

Replace weapon when the unit is AI controlled. More...

Detailed Description

Author
Daniel Szabo (danie.nosp@m.l.sz.nosp@m.abo.7.nosp@m.15@g.nosp@m.mail..nosp@m.com)

This script replaces one of the object's weapons the script is attached to with another one if the object is AI controlled. It helps to use the same preset for bot units that need a different weapon than the players.

Parameters
OriginalWeaponThe name of the weapon preset to replace.
NewWeaponThe name of the weapon preset to grant.
SelectOnGrantSelect the granted weapon (1) or not (0).