displayNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " 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 | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
|gr2= Variables | |gr2= Variables | ||
| 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]]: | ||
* <tt>[[displayNull]] <nowiki>==</nowiki> [[displayNull]]; // false</tt> | * <tt>[[displayNull]] <nowiki>==</nowiki> [[displayNull]]; // false</tt> | ||
* <tt>[[isNull]] [[displayNull]]; // true</tt> | * <tt>[[isNull]] [[displayNull]]; // true</tt> | ||
* <tt>[[displayNull]] [[isEqualTo]] [[displayNull]]; // true</tt> | * <tt>[[displayNull]] [[isEqualTo]] [[displayNull]]; // true</tt> | ||
| '''displayNull''' | | '''displayNull''' | ||
| [[Display]] | | [[Display]] | ||
| x1 = <code>![[isNull]] [[displayNull]]; // false</code> | | x1 = <code>![[isNull]] [[displayNull]]; // false</code> | ||
| x2 = <code>[[str]] [[displayNull]]; // No display</code> | | x2 = <code>[[str]] [[displayNull]]; // No display</code> | ||
| [[controlNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]], [[displayParent]] | | [[controlNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]], [[displayParent]] | ||
}} | }} |
Revision as of 00:27, 18 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