laserTarget: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (added description, changed locality, moved note to talk) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns laser target object created by given unit (gunner in vehicle or on foot) when using "Laserdesignator" or another laser targeting device. Laser target object is global and can be retrieved from any PC. |= | | Returns laser target object created by given unit (gunner in vehicle or on foot) when using "Laserdesignator" or another laser targeting device. Laser target object is global and can be retrieved from any PC. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''laserTarget''' unitName|= | | '''laserTarget''' unitName|SYNTAX= | ||
|p1= unitName: [[Object]] |= | |p1= unitName: [[Object]] |= | ||
| [[Object]] |= | | [[Object]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[cursorTarget]] |= | | [[cursorTarget]] |SEEALSO= | ||
}} | }} |
Revision as of 14:42, 7 April 2019
Description
- Description:
- Returns laser target object created by given unit (gunner in vehicle or on foot) when using "Laserdesignator" or another laser targeting device. Laser target object is global and can be retrieved from any PC.
- Groups:
- Uncategorised
Syntax
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.51
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- ArmA 2 OA: New Scripting Commands List