fire – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 15:57, 31 December 2006

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";