isObjectHidden: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.48 | |1.48 | ||
|arg= global | |arg= global | ||
|eff= local | |eff= local | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Checks visibility of a given object on the local machine. | | Checks visibility of a given object on the local machine. | ||
| '''isObjectHidden''' object | | '''isObjectHidden''' object | ||
|p1= object: [[Object]] - object to test | |p1= object: [[Object]] - object to test | ||
| [[Boolean]] - [[true]] if hidden, [[false]] if visible | | [[Boolean]] - [[true]] if hidden, [[false]] if visible | ||
|x1= <code>_bobIsHidden = [[isObjectHidden]] bob;</code> | |x1= <code>_bobIsHidden = [[isObjectHidden]] bob;</code> | ||
| [[hideObject]], [[hideObjectGlobal]], [[deleteCollection]] | | [[hideObject]], [[hideObjectGlobal]], [[deleteCollection]] | ||
}} | }} |
Revision as of 00:42, 18 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