objNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
Line 37: Line 37:
[[Category:Scripting Commands OFP 1.96|OBJNULL]]
[[Category:Scripting Commands OFP 1.96|OBJNULL]]
[[Category:Scripting Commands OFP 1.46|OBJNULL]]
[[Category:Scripting Commands OFP 1.46|OBJNULL]]
[[Category:Scripting Commands ArmA|OBJNULL]]
[[Category:Scripting Commands Armed Assault|OBJNULL]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 20:53, 3 June 2020

Hover & click on the images for description

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>
Example 4:
position objNull // [0,0,0]

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