fire – Talk

From Bohemia Interactive Community
Revision as of 14:58, 31 December 2006 by fabriziot (talk | contribs)
Jump to navigation Jump to search

Is this command supposed to work in AA ? I can't get it working either by passing weapon name as argument or array with muzzle / mode. I tried calling selectWeapon before and even doTarget/doWatch. Still no luck, unit won't fire on any friendly, empty or enemy target.

Short examples (not working) - unit is WEST rifleman:

w = weapons this select 0; this doTarget enemy1; this selectWeapon w; this fire w;

or

this doTarget enemy1; this selectWeapon "M4AIM"; this fire "M4AIM";