isObjectHidden: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.48


|1.48|= Game version
|arg= global


|arg= global |= Effects in MP
|eff= local


|eff= local |= Effects in MP
|gr1= Object Manipulation


____________________________________________________________________________________________
|descr= Checks visibility of a given object on the local machine.


| Checks visibility of a given object on the local machine. |DESCRIPTION=
|s1= [[isObjectHidden]] object
____________________________________________________________________________________________


| '''isObjectHidden''' object |SYNTAX=
|p1= object: [[Object]] - object to test
|r1= [[Boolean]] - [[true]] if hidden, [[false]] if visible


|p1= object: [[Object]] - object to test |PARAMETER1=
|x1= <sqf>_bobIsHidden = isObjectHidden bob;</sqf>
| [[Boolean]] - [[true]] if hidden, [[false]] if visible |RETURNVALUE=
____________________________________________________________________________________________
 
 
|x1= <code>_bobIsHidden = [[isObjectHidden]] bob;</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[hideObject]], [[hideObjectGlobal]], [[deleteCollection]] |SEEALSO=


|seealso= [[hideObject]] [[hideObjectGlobal]] [[deleteCollection]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Checks visibility of a given object on the local machine.
Groups:
Object Manipulation

Syntax

Syntax:
isObjectHidden object
Parameters:
object: Object - object to test
Return Value:
Boolean - true if hidden, false if visible

Examples

Example 1:
_bobIsHidden = isObjectHidden bob;

Additional Information

See also:
hideObject hideObjectGlobal deleteCollection

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