isNull: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 62: | Line 62: | ||
Use this instead: | Use this instead: | ||
<code>_tmember isEqualTo teamMemberNull</code> | <code>_tmember isEqualTo teamMemberNull</code> | ||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> | |||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on December 9, 2015 - 11:38 (UTC)</dd> | |||
<dt class="note">[[User:Commy2|Commy2]]</dt> | |||
<dd class="note"> | |||
The note in the description does not apply to the CONFIG type, probably due to backwards compatibility.<br> | |||
<code>configNull == configNull | |||
-> true | |||
</code> | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 12:38, 9 December 2015
Description
- Description:
- Checks whether the tested item is Null.
Which null type the item has to be equal to depends on the type of game entity tested:
- Objects -> objNull
- Controls -> controlNull
- Displays -> displayNull
- Groups -> grpNull
- Locations -> locationNull (since ARMA 2)
- Tasks -> taskNull (since ARMA 2)
- Scripts -> scriptNull (since Arma 3 1.29.127075)
- Configs -> configNull (since Arma 3 1.53.133130)
- Groups:
- Uncategorised
Syntax
- Syntax:
- isNull entity
- Parameters:
- entity: Object, Control, Display, Group (or Location, Task since ARMA 2 (or Script since Arma 3 1.29.127075))
- Return Value:
- Boolean
Examples
Additional Information
- See also:
- controlNulldisplayNullgrpNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeName
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
Notes
Bottom Section
- Posted on December 9, 2015 - 11:29 (UTC)
- Commy2
-
isNull does not work with the TEAM_MEMBER type.
Use this instead:
_tmember isEqualTo teamMemberNull
- Posted on December 9, 2015 - 11:38 (UTC)
- Commy2
-
The note in the description does not apply to the CONFIG type, probably due to backwards compatibility.
configNull == configNull -> true
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Object Information
- Command Group: Variables
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters