laserTarget: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " +<\/code>" to "</code>") |
||
Line 19: | Line 19: | ||
|x1= <code>[[private]] _target = [[laserTarget]] [[gunner]] heli;</code> | |x1= <code>[[private]] _target = [[laserTarget]] [[gunner]] heli;</code> | ||
|x2= <code>[[private]] _designatedPos = [[getPosATL]] [[laserTarget]] [[player]]; </code> | |x2= <code>[[private]] _designatedPos = [[getPosATL]] [[laserTarget]] [[player]];</code> | ||
|seealso= [[cursorTarget]], [[setMissileTarget]] | |seealso= [[cursorTarget]], [[setMissileTarget]] |
Revision as of 22:48, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Weapons
Syntax
- Syntax:
- Syntax needed
- 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