cursorTarget: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 52: | Line 52: | ||
*This command doesn't work through building windows | *This command doesn't work through building windows | ||
*This recognition doesn't work with every object : soldiers, vehicles, big houses are ok, but not trees, plants, road signs or others little things | *This recognition doesn't work with every object : soldiers, vehicles, big houses are ok, but not trees, plants, road signs or others little things | ||
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]''' 22:11, 23 August 2013 (CEST) | |||
<dd class="note"> | |||
To add to Lou Montana's note, use [[reveal]] command on the object you want to be detected with [[cursorTarget]] when pointing at it. Distant units are most likely return [[objNull]] even if you shoot and hit them. | |||
Revision as of 22:16, 23 October 2013
Description
- Description:
- This is the entity pointed to by a players cursor.
- Groups:
- Uncategorised
Syntax
- Syntax:
- cursorTarget
- Return Value:
- Object
Examples
- Example 1:
alive cursorTarget
Additional Information
- See also:
- laserTargetnearTargetsknowsAbout
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
- GLT Myke 01:25, 18 February 2011 (CET)
- If the player is in a vehicle and a lockable weapon is selected and a target is locked, the locked target will be returned, regardless if it's in sight or not.
- kju 11 March 2011
- Addition to Myke's note: It also works for infantry with launchers that canLock, like Javelin or AA. Only the lock cursor must be visible on the target - not a full lock necessarily.
- Lou Montana 13:09, 11 July 2009 (CEST)
-
- Player must knows about what he is pointing to for this command to return something other than <NULL-OBJECT>
- This command doesn't work through building windows
- This recognition doesn't work with every object : soldiers, vehicles, big houses are ok, but not trees, plants, road signs or others little things
- Killzone_Kid 22:11, 23 August 2013 (CEST)
- To add to Lou Montana's note, use reveal command on the object you want to be detected with cursorTarget when pointing at it. Distant units are most likely return objNull even if you shoot and hit them.