laserTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(corrected note)
(Fixed notes)
Line 27: Line 27:
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on December 15, 2010 - 11:14 (UTC)</dd>
<dt>[[User:Tom 48 97|tom_48_97]]
<dt class="note">[[User:Tom 48 97|tom_48_97]]</dt>
<dd>Need to be try with a soldier and laser designator
<dd class="note">
<dt>[[User:DarkWanderer|DarkWanderer]]
Need to be try with a soldier and laser designator
<dd>Works with either infantry or vehicles. Returns [[objNull]] if no target is present
</dd>
<dt>[[User:Franze|Franze]]
</dl>
<dd>You can only get a unit's lasertarget if it is local to you.
 
<!-- Note Section END -->
<dl class="command_description">
<dd class="notedate">Posted on December 19, 2010 - 06:10 (UTC)</dd>
<dt class="note">[[User:DarkWanderer|DarkWanderer]]</dt>
<dd class="note">
Works with either infantry or vehicles. Returns [[objNull]] if no target is present
</dd>
</dl>
 
<dl class="command_description">
<dd class="notedate">Posted on August 17, 2012 - 18:52 (UTC)</dd>
<dt class="note">[[User:Franze|Franze]]</dt>
<dd class="note">
You can only get a unit's lasertarget if it is local to you.
</dd>
</dl>
</dl>



Revision as of 05:15, 15 November 2015

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
Posted on December 15, 2010 - 11:14 (UTC)
tom_48_97
Need to be try with a soldier and laser designator
Posted on December 19, 2010 - 06:10 (UTC)
DarkWanderer
Works with either infantry or vehicles. Returns objNull if no target is present
Posted on August 17, 2012 - 18:52 (UTC)
Franze
You can only get a unit's lasertarget if it is local to you.

Bottom Section