laserTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added SEEALSO)
m (Text replace - "</dt>" to "")
Line 28: Line 28:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dt>[[User:Tom 48 97|tom_48_97]]</dt>
<dt>[[User:Tom 48 97|tom_48_97]]
<dd>Need to be try with a soldier and laser designator</dd>
<dd>Need to be try with a soldier and laser designator</dd>
<dt>[[User:DarkWanderer|DarkWanderer]]</dt>
<dt>[[User:DarkWanderer|DarkWanderer]]
<dd>Works with either infantry or vehicles. Returns [0,0,0] if no target is present</dd>
<dd>Works with either infantry or vehicles. Returns [0,0,0] if no target is present</dd>
<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 14:30, 21 October 2011

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:
cursorTarget

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
DarkWanderer
Works with either infantry or vehicles. Returns [0,0,0] if no target is present

Bottom Section