displayNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Some wiki formatting)
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| arma1 |Game name=
|game1= arma1
|version1= 1.00


|1.00|Game version=
|game2= arma2
|version2= 1.00


|gr1= GUI Control |GROUP1=
|game3= arma2oa
|gr2= Variables |GROUP2=
|version3= 1.50


| A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]:
|game4= tkoh
* <tt>[[displayNull]] <nowiki>==</nowiki> [[displayNull]]; // false</tt>
|version4= 1.00
* <tt>[[isNull]] [[displayNull]]; // true</tt>
* <tt>[[displayNull]]  [[isEqualTo]] [[displayNull]]; // true</tt> |DESCRIPTION=


| '''displayNull''' |SYNTAX=
|game5= arma3
|version5= 0.50


| [[Display]] |RETURNVALUE=
|gr1= GUI Control
|gr2= Variables


| x1 = <code>![[isNull]] [[displayNull]]; // false</code> |EXAMPLE1=
|descr= A non-existing [[Display]]. To compare non-existent displays use [[isNull]] or [[isEqualTo]]:
| x2 = <code>[[str]] [[displayNull]]; // No display</code> |EXAMPLE2=
<sqf>
displayNull == displayNull; // false
isNull displayNull; // true
displayNull isEqualTo displayNull; // true
</sqf>


| [[controlNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]], [[displayParent]] |SEEALSO=
|s1= [[displayNull]]


}}
|r1= [[Display]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>!isNull displayNull; // false</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x2= <sqf>str displayNull; // No display</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[controlNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[teamMemberNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]] [[displayParent]]
}}


[[Category:Scripting Commands|DISPLAYNULL]]
{{Note
{{GameCategory|arma1|Scripting Commands}}
|user= 7erra
{{GameCategory|arma2|Scripting Commands}}
|timestamp= 20220205160202
{{GameCategory|arma3|Scripting Commands}}
|text= When used in the [[Arma_3:_Debug_Console|debug console]] or as output in the [[:Category:Command_Group:_Radio_and_Chat|chat]] or [[rpt]] it is displayed as "No display".
{{GameCategory|tkoh|Scripting Commands}}
}}

Latest revision as of 14:16, 13 May 2022

Hover & click on the images for description

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:
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
7erra - c
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".