isObjectHidden: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 12: Line 11:
|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation |GROUP1=


____________________________________________________________________________________________


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


| '''isObjectHidden''' object |SYNTAX=
| '''isObjectHidden''' object |SYNTAX=
Line 21: Line 18:
|p1= object: [[Object]] - object to test |PARAMETER1=
|p1= object: [[Object]] - object to test |PARAMETER1=
| [[Boolean]] - [[true]] if hidden, [[false]] if visible |RETURNVALUE=
| [[Boolean]] - [[true]] if hidden, [[false]] if visible |RETURNVALUE=
____________________________________________________________________________________________




|x1= <code>_bobIsHidden = [[isObjectHidden]] bob;</code> |EXAMPLE1=
|x1= <code>_bobIsHidden = [[isObjectHidden]] bob;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[hideObject]], [[hideObjectGlobal]], [[deleteCollection]] |SEEALSO=
| [[hideObject]], [[hideObjectGlobal]], [[deleteCollection]] |SEEALSO=

Revision as of 02:43, 17 January 2021

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:
hideObjecthideObjectGlobaldeleteCollection

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

Notes

Bottom Section