displayNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
|descr= A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]: | |descr= A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]: | ||
<sqf> | |||
displayNull == displayNull; // false | |||
isNull displayNull; // true | |||
displayNull isEqualTo displayNull; // true | |||
</sqf> | |||
|s1= | |s1= [[displayNull]] | ||
|r1= [[Display]] | |r1= [[Display]] | ||
|x1= < | |x1= <sqf>!isNull displayNull; // false</sqf> | ||
|x2= < | |||
|x2= <sqf>str displayNull; // No display</sqf> | |||
|seealso= [[controlNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[teamMemberNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]] [[displayParent]] | |seealso= [[controlNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[teamMemberNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]] [[displayParent]] |
Latest revision as of 13:16, 13 May 2022
Description
- Description:
- A non-existing Display. To compare non-existent displays use isNull or isEqualTo:
- Groups:
- GUI ControlVariables
Syntax
- Syntax:
- displayNull
- Return Value:
- Display
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- controlNull grpNull locationNull objNull taskNull teamMemberNull scriptNull configNull typeName isNull displayParent
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
- Posted on Feb 05, 2022 - 16:02 (UTC)
- When used in the debug console or as output in the chat or rpt it is displayed as "No display".
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: GUI Control
- Command Group: Variables