laserTarget: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Fix Category:Pages using duplicate arguments in template calls, description and SeeAlso. Locality is already explained with aG) |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 16: | Line 16: | ||
|p1= unitName: [[Object]] |PARAMETER1= | |p1= unitName: [[Object]] |PARAMETER1= | ||
| [[Object]] - [[objNull]] if no laser target exists |RETURNVALUE= | | [[Object]] - laser target or [[objNull]] if no laser target exists |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 20:48, 24 September 2019
Description
- Description:
- Returns laser target object created by given unit (vehicle or soldier) when using a laser targeting device.
- Groups:
- Uncategorised
Syntax
- Syntax:
- laserTarget unitName
- Parameters:
- unitName: Object
- Return Value:
- Object - laser target or objNull if no laser target exists
Examples
- Example 1:
private _target = laserTarget gunner heli;
- Example 2:
private _designatedPos = getPosATL laserTarget player;
Additional Information
- See also:
- cursorTargetsetMissileTarget
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