locationNull: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 10: | Line 10: | ||
* <tt>[[locationNull]] <nowiki>==</nowiki> [[locationNull]]; // false</tt> | * <tt>[[locationNull]] <nowiki>==</nowiki> [[locationNull]]; // false</tt> | ||
* <tt>[[isNull]] [[locationNull]]; // true</tt> | * <tt>[[isNull]] [[locationNull]]; // true</tt> | ||
* <tt>[[locationNull]] [[isEqualTo]] [[locationNull]]; // true</tt> |= | * <tt>[[locationNull]] [[isEqualTo]] [[locationNull]]; // true</tt> |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''locationNull''' |= | | '''locationNull''' |SYNTAX= | ||
|p1= |PARAMETER1= | |p1= |PARAMETER1= |
Revision as of 14:43, 7 April 2019
Description
- Description:
- A non-existing Location. To compare non-existent locations use isNull or isEqualTo:
- locationNull == locationNull; // false
- isNull locationNull; // true
- locationNull isEqualTo locationNull; // true
- Groups:
- Uncategorised
Syntax
- Syntax:
- locationNull
- Return Value:
- Location
Examples
- Example 1:
!isNull locationNull; // false
- Example 2:
str locationNull; // No location
- Example 3:
position locationNull; // [0,0,0]
Additional Information
- See also:
- controlNulldisplayNullgrpNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull
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