getHideFrom: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the [[Position]] where object believes the enemy to be, presumably by extrapolating the expected postion based on the last known position and speed of the enemy. A returned position of [0,0,0] implies that object does not knowAbout enemy.
| Returns the [[Position]] where object believes the enemy to be, presumably by extrapolating the expected postion based on the last known position and speed of the enemy. A returned position of [0,0,0] implies that object does not knowAbout enemy. If enemy is null it is some position in front of the object or enemy position.
 
<br/><br/>This command is part of [[getHideFrom]], [[findCover]], [[setHideBehind]] non-functional trio.  |= Description
If enemy is null it is some position in front of the object or enemy position. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 18: Line 17:
|p2= enemy: [[Object]] |= Parameter 2
|p2= enemy: [[Object]] |= Parameter 2


| [[Array]] - format [[Position]] |= Return value
| [[Array]] - format [[getHideFrom]] - The array represent some kind of position, however Z coordinate is raised, possibly for  futher use in [[findCover]] and [[setHideBehind]] commands. |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= See also
[[findCover]], [[setHideBehind]] |= See also


}}
}}

Revision as of 14:06, 13 February 2014

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns the Position where object believes the enemy to be, presumably by extrapolating the expected postion based on the last known position and speed of the enemy. A returned position of [0,0,0] implies that object does not knowAbout enemy. If enemy is null it is some position in front of the object or enemy position.

This command is part of getHideFrom, findCover, setHideBehind non-functional trio.
Groups:
Uncategorised

Syntax

Syntax:
Array = object getHideFrom enemy
Parameters:
object: Object
enemy: Object
Return Value:
Array - format getHideFrom - The array represent some kind of position, however Z coordinate is raised, possibly for futher use in findCover and setHideBehind commands.

Examples

Examples:
Example needed

Additional Information

See also:
findCoversetHideBehind

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

Bottom Section