isHidden: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(70 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|ISHIDDEN]]
{{RV|type=command
[[Category:Scripting Commands ArmA|ISHIDDEN]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">''' isHidden ''person'''''</h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


'''person:''' [[Object]]
|game5= arma3
|version5= 0.50


'''Type of returned value:'''
|arg= global


[[Number]]
|gr1= Object Manipulation


'''Compatibility:'''
|descr= Returns whether a person is hidden (reached the hiding position).
{{Feature|Important | Not to be confused with [[isObjectHidden]], which is returning object visibility set with [[hideObject]]}}


Version 2.92 required.
|s1= [[isHidden]] person


'''Description:'''
|p1= person: [[Object]]


Return whether the person is hidden (reached the hiding position).
|r1= [[Boolean]]
 
|x1= <sqf>_bobIsHidden = isHidden bob;</sqf>
 
|seealso= [[isObjectHidden]] [[getHideFrom]] [[setHideBehind]] [[findCover]]
}}
 
 
<dl class="command_description">
 
<dt></dt>
<dd class="notedate">Posted on 2017-01-01 - 22:40 (UTC)</dd>
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt>
<dd class="note">
Tested in 1.67 DEV, seems to always return [[false]]
</dd>
 
</dl>

Latest revision as of 14: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