fire – Talk

From Bohemia Interactive Community
Revision as of 15:57, 31 December 2006 by fabriziot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Is this command supposed to work in AA ? I can't get it working either passing weapon name as argument oo array of muzzle / mode. I tried calling selectWeapon before and 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";