getHideFrom: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 19: | Line 19: | ||
|x1= <code>_pos = [[player]] [[getHideFrom]] _enemy;</code> | |x1= <code>_pos = [[player]] [[getHideFrom]] _enemy;</code> | ||
| | |seealso= [[findCover]], [[setHideBehind]], [[isHidden]], [[knowsAbout]], [[forgetTarget]] | ||
}} | }} | ||
Revision as of 23:43, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object: Object
- enemy: Object
- Return Value:
- Return value needed
Examples
- Example 1:
_pos = player getHideFrom _enemy;
Additional Information
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 April 25, 2015 - 07:15 (UTC)
- Benargee
- This command is definatlely not broken, at least not in A3 1.42. It functions exactly as the description says it does. The reason why the Z value is elevated is because it represents the units torso. When the unit is prone and spotted, the Z value is much less. Here you can see a perfectly working example of this command Talk:getHideFrom#Operation Script Sample