displayNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 8: | Line 7: | ||
|gr1= GUI Control |GROUP1= | |gr1= GUI Control |GROUP1= | ||
|gr2= Variables |GROUP2= | |gr2= Variables |GROUP2= | ||
| A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]: | | A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]: | ||
Line 14: | Line 12: | ||
* <tt>[[isNull]] [[displayNull]]; // true</tt> | * <tt>[[isNull]] [[displayNull]]; // true</tt> | ||
* <tt>[[displayNull]] [[isEqualTo]] [[displayNull]]; // true</tt> |DESCRIPTION= | * <tt>[[displayNull]] [[isEqualTo]] [[displayNull]]; // true</tt> |DESCRIPTION= | ||
| '''displayNull''' |SYNTAX= | | '''displayNull''' |SYNTAX= | ||
Line 22: | Line 19: | ||
| x1 = <code>![[isNull]] [[displayNull]]; // false</code> |EXAMPLE1= | | x1 = <code>![[isNull]] [[displayNull]]; // false</code> |EXAMPLE1= | ||
| x2 = <code>[[str]] [[displayNull]]; // No display</code> |EXAMPLE2= | | x2 = <code>[[str]] [[displayNull]]; // No display</code> |EXAMPLE2= | ||
| [[controlNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]], [[displayParent]] |SEEALSO= | | [[controlNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]], [[displayParent]] |SEEALSO= |
Revision as of 00:38, 17 January 2021
Description
- Description:
- A non-existing Display. To compare non-existent displays use isNull or isEqualTo:
- displayNull == displayNull; // false
- isNull displayNull; // true
- displayNull isEqualTo displayNull; // true
- Groups:
- GUI ControlVariables
Syntax
- Syntax:
- displayNull
- Return Value:
- Display
Examples
- Example 1:
!isNull displayNull; // false
- Example 2:
str displayNull; // No display
Additional Information
- See also:
- controlNullgrpNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNulldisplayParent
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