isHidden: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 26: Line 26:


|p1= person: [[Object]]
|p1= person: [[Object]]
|x1= <code>_bobIsHidden = [[isHidden]] bob;</code>
|x1= <code>_bobIsHidden = isHidden bob;</code>


|r1= [[Boolean]]
|r1= [[Boolean]]

Revision as of 11:09, 12 May 2022

Hover & click on the images for description

Description

Description:
Returns whether a person is hidden (reached the hiding position).
Not to be confused with isObjectHidden, which is returning object visibility set with hideObject
Groups:
Object Manipulation

Syntax

Syntax:
isHidden person
Parameters:
person: Object
Return Value:
Boolean

Examples

Example 1:
_bobIsHidden = isHidden bob;

Additional Information

See also:
isObjectHidden getHideFrom setHideBehind findCover

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 January 1, 2017 - 22:40 (UTC)
Killzone Kid
Tested in 1.67 DEV, seems to always return false