controlNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma |" to "| arma1 |") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Armed[ _]Assault(\|.*)]]" to "{{GameCategory|arma1|Scripting Commands}}") |
||
Line 40: | Line 40: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
{{GameCategory|arma1|Scripting Commands}} | |||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 01:41, 7 January 2021
Description
- Description:
- A non-existing Control. To compare non-existent objects use isNull or isEqualTo (see examples).
- Groups:
- GUI Control
Syntax
- Syntax:
- controlNull
- Return Value:
- Control
Examples
- Example 1:
if (_myCtrl isEqualTo controllNull) then { hint "_myCtrl is null!"; };
- Example 2:
controlNull == controlNull; // returns false isNull controlNull; // returns true controlNull isEqualTo controlNull; // returns true
- Example 3:
str controlNull; // No control
Additional Information
- See also:
- displayNullgrpNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull
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