isHidden: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (example)
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(52 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|1.00|= Game version
|version1= 1.00
|arg= global|= Arguments in MP
____________________________________________________________________________________________


| Return whether the person is hidden (reached the hiding position). For command that tests general visibility of an object use [[isObjectHidden]] |= Description
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| '''isHidden''' person |= Syntax
|game3= arma2oa
|version3= 1.50


|p1= person: [[Object]] |= Parameter 1
|game4= tkoh
|x1= <code>_bobIsHidden = isHidden bob;</code> |Example 1=
|version4= 1.00


|game5= arma3
|version5= 0.50


| [[Boolean]] |= Return value
|arg= global
____________________________________________________________________________________________


| [[isObjectHidden]], [[getHideFrom]], [[setHideBehind]], [[findCover]] |= See also
|gr1= Object Manipulation


|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]]}}
|s1= [[isHidden]] person
|p1= person: [[Object]]
|r1= [[Boolean]]
|x1= <sqf>_bobIsHidden = isHidden bob;</sqf>
|seealso= [[isObjectHidden]] [[getHideFrom]] [[setHideBehind]] [[findCover]]
}}
}}


<h3 style="display:none">Notes</h3>
 
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
<dt></dt>
[[Category:Scripting Commands|ISHIDDEN]]
<dd class="notedate">Posted on 2017-01-01 - 22:40 (UTC)</dd>
[[Category:Scripting Commands ArmA|ISHIDDEN]]
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt>
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on January 1, 2017 - 22:40 (UTC)</dd>
<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]]
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

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