laserTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns traget created by gunner in given vehicle. |= Description
| Returns target created by given unit (gunner in vehicle or on foot). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 18: Line 18:


|x1= <code>_target <nowiki>=</nowiki> '''laserTarget''' gunner heli; </code> |=  
|x1= <code>_target <nowiki>=</nowiki> '''laserTarget''' gunner heli; </code> |=  
|x2= <code>_designatedPos <nowiki>=</nowiki> [[position]] '''laserTarget''' player; </code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:09, 19 December 2010

Hover & click on the images for description

Description

Description:
Returns target created by given unit (gunner in vehicle or on foot).
Groups:
Uncategorised

Syntax

Syntax:
laserTarget unitName
Parameters:
unitName: Object
Return Value:
Object

Examples

Example 1:
_target = laserTarget gunner heli;
Example 2:
_designatedPos = position laserTarget player;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

tom_48_97
Need to be try with a soldier and laser designator

Bottom Section