teamMemberNull: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Killzone Kid (talk | contribs) (description example) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| A | | A non-existent [[Team Member]]. To compare non-existent team members use [[isNull]] or [[isEqualTo]]: | ||
* <tt>[[teamMemberNull]] <nowiki>==</nowiki> [[teamMemberNull]]; // false</tt> | |||
* <tt>[[isNull]] [[teamMemberNull]]; // true</tt> | |||
* <tt>[[teamMemberNull]] [[isEqualTo]] [[teamMemberNull]]; // true</tt> |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 15: | Line 18: | ||
|x1= <code>[[if]] (_teamMember [[isEqualTo]] [[teamMemberNull]]) [[then]] { | | x1 = <code>![[isNull]] [[teamMemberNull]]; // false</code> |= | ||
| x2 = <code>[[str]] [[teamMemberNull]]; // <NULL - team member></code> |= | |||
|x3= <code>[[if]] (_teamMember [[isEqualTo]] [[teamMemberNull]]) [[then]] { | |||
[[hint]] "is null member"; | [[hint]] "is null member"; | ||
};</code> |= EXAMPLE1 | };</code> |= EXAMPLE1 |
Revision as of 18:49, 26 March 2016
Description
- Description:
- A non-existent Team Member. To compare non-existent team members use isNull or isEqualTo:
- teamMemberNull == teamMemberNull; // false
- isNull teamMemberNull; // true
- teamMemberNull isEqualTo teamMemberNull; // true
- Groups:
- Uncategorised
Syntax
- Syntax:
- teamMemberNull
- Return Value:
- Team Member
Examples
- Example 1:
!isNull teamMemberNull; // false
- Example 2:
str teamMemberNull; // <NULL - team member>
- Example 3:
if (_teamMember isEqualTo teamMemberNull) then { hint "is null member"; };
Additional Information
- See also:
- addTeamMembercreateTeamdeleteTeamforEachMemberTeamremoveTeamMemberteamMemberteamNameteamsteamTypecontrolNulldisplayNullgrpNulllocationNullobjNulltaskNullscriptNullconfigNulltypeNameisNull
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