isNull: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
m (VBS2 scripting category removal) |
||
Line 47: | Line 47: | ||
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 05:14, 19 July 2011
Description
- Description:
- Checks whether the tested item is Null.
Which null type the item has to be equal to depends on the type of object tested:
- Objects -> objNull
- Controls -> controlNull
- Displays -> displayNull
- Groups -> grpNull
- Locations -> locationNull (only VBS2)
- Groups:
- Uncategorised
Syntax
- Syntax:
- isNull obj
- Parameters:
- obj: Object, Control, Display, Group (or Location, for VBS2 1.24 and higher)
- Return Value:
- Boolean
Examples
- Example 1:
if (isNull obj) then {hint "doesn't exist"}
Additional Information
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.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Object Information
- Command Group: Variables
- Scripting Commands ArmA2