teamMemberNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *\[\[([a-zA-Z0-9_]+)\]\] * \|r1=" to "|s1= $1 |r1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 15: | Line 15: | ||
|gr1= Teams | |gr1= Teams | ||
| A non-existent [[Team Member]]. To compare non-existent team members use [[isNull]] or [[isEqualTo]]: | |descr= A non-existent [[Team Member]]. To compare non-existent team members use [[isNull]] or [[isEqualTo]]: | ||
* <tt>[[teamMemberNull]] {{=}}{{=}} [[teamMemberNull]]; {{cc|false}}</tt> | * <tt>[[teamMemberNull]] {{=}}{{=}} [[teamMemberNull]]; {{cc|false}}</tt> | ||
* <tt>[[isNull]] [[teamMemberNull]]; {{cc|true}}</tt> | * <tt>[[isNull]] [[teamMemberNull]]; {{cc|true}}</tt> |
Revision as of 21:28, 13 June 2021
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:
- Teams
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 "team member is null"; };
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