fire – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
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.
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:
Short examples (not working) - unit is WEST rifleman:

Revision as of 15:58, 31 December 2006

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