isHidden: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(9 intermediate revisions by 2 users not shown)
Line 23: Line 23:
{{Feature|Important | Not to be confused with [[isObjectHidden]], which is returning object visibility set with [[hideObject]]}}  
{{Feature|Important | Not to be confused with [[isObjectHidden]], which is returning object visibility set with [[hideObject]]}}  


|s1= '''isHidden''' person
|s1= [[isHidden]] person


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


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


|seealso= [[isObjectHidden]], [[getHideFrom]], [[setHideBehind]], [[findCover]]
|x1= <sqf>_bobIsHidden = isHidden bob;</sqf>
 
|seealso= [[isObjectHidden]] [[getHideFrom]] [[setHideBehind]] [[findCover]]
}}
}}


Line 37: Line 38:


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on January 1, 2017 - 22:40 (UTC)</dd>
<dd class="notedate">Posted on 2017-01-01 - 22:40 (UTC)</dd>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt>
<dd class="note">
<dd class="note">
Tested in 1.67 DEV, seems to always return [[false]]
Tested in 1.67 DEV, seems to always return [[false]]

Latest revision as of 13:48, 12 March 2024

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