teamMemberNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4 $5 $6</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 17: | Line 17: | ||
|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; // false | <code>teamMemberNull == teamMemberNull; // false | ||
isNull [[teamMemberNull]]; // true | |||
teamMemberNull isEqualTo teamMemberNull; // true</code> | teamMemberNull isEqualTo teamMemberNull; // true</code> | ||
Line 30: | Line 30: | ||
|x3= <code>if (_teamMember isEqualTo teamMemberNull) then | |x3= <code>if (_teamMember isEqualTo teamMemberNull) then | ||
{ | { | ||
hint "team member is null"; | |||
};</code> | };</code> | ||
|seealso= [[addTeamMember]] [[createTeam]] [[deleteTeam]] [[forEachMemberTeam]] [[removeTeamMember]] [[teamMember]] [[teamName]] [[teams]] [[teamType]] [[controlNull]] [[displayNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]] | |seealso= [[addTeamMember]] [[createTeam]] [[deleteTeam]] [[forEachMemberTeam]] [[removeTeamMember]] [[teamMember]] [[teamName]] [[teams]] [[teamType]] [[controlNull]] [[displayNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]] | ||
}} | }} |
Revision as of 13:02, 12 May 2022
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:
- addTeamMember createTeam deleteTeam forEachMemberTeam removeTeamMember teamMember teamName teams teamType controlNull displayNull grpNull locationNull objNull taskNull scriptNull configNull typeName isNull
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