objNull: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
Killzone Kid (talk | contribs) (example) |
||
Line 18: | Line 18: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[player]] == [[player]]; // false if player is null</code>|= EXAMPLE1 | |x1= <code>[[player]] == [[player]]; // false if player is null</code>|= EXAMPLE1 | ||
|x2= <code>[[isNull]] [[player]]; // true if player is null</code>|= | |x2= <code>[[isNull]] [[player]]; // true if player is null</code>|= EXAMPLE2 | ||
|x3= <code>[[str]] [[objNull]] // <NULL-object></code>|= EXAMPLE3 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:23, 26 March 2016
Description
- Description:
- A non-existent Object. To compare non-existent objects use isNull or isEqualTo:
- Groups:
- Uncategorised
Syntax
- Syntax:
- objNull
- Return Value:
- Object
Examples
- Example 1:
player == player; // false if player is null
- Example 2:
isNull player; // true if player is null
- Example 3:
str objNull // <NULL-object>
Additional Information
- See also:
- controlNulldisplayNullgrpNulllocationNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull
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
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
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters