teamMemberNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 16: | Line 16: | ||
|descr= 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]]: | ||
<code>[[teamMemberNull]] == [[teamMemberNull]]; {{cc|false}} | |||
[[isNull]] [[teamMemberNull]]; {{cc|true}} | |||
[[teamMemberNull]] [[isEqualTo]] [[teamMemberNull]]; {{cc|true}}</code> | |||
|s1= [[teamMemberNull]] | |s1= [[teamMemberNull]] | ||
Line 25: | Line 25: | ||
|x1= <code>![[isNull]] [[teamMemberNull]]; {{cc|false}}</code> | |x1= <code>![[isNull]] [[teamMemberNull]]; {{cc|false}}</code> | ||
|x2= <code>[[str]] [[teamMemberNull]]; {{cc|<NULL - team member>}}</code> | |x2= <code>[[str]] [[teamMemberNull]]; {{cc|<NULL - team member>}}</code> | ||
|x3= <code>[[if]] (_teamMember [[isEqualTo]] [[teamMemberNull]]) [[then]] { | |||
|x3= <code>[[if]] (_teamMember [[isEqualTo]] [[teamMemberNull]]) [[then]] | |||
{ | |||
[[hint]] "team member is null"; | [[hint]] "team member is null"; | ||
};</code> | };</code> |
Revision as of 00:09, 16 November 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