isObjectHidden: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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 01:43, 17 January 2021
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
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