commandFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:




<h2 style="color:#000066"> '''commandFire ''target'''''</h2>
<h2 style="color:#000066"> '''''unit'' commandFire ''target'''''</h2>




'''Operand types:'''
'''Operand types:'''
'''unit''' [[Object]] or [[Array]]


'''target:''' [[Object]]
'''target:''' [[Object]]

Revision as of 01:27, 6 July 2006


unit commandFire target


Operand types:

unit Object or Array

target: Object

Type of returned value:

Nothing

Description:

Order unit to commence fire on given target (via radio).

If target is objNull, commence fire to current target (set using doTarget or commandTarget).


Example:

soldierOne commandFire player