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 (Some wiki formatting) |
||
(40 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
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]]: | ||
<sqf> | |||
teamMemberNull == teamMemberNull; // false | |||
isNull teamMemberNull; // true | |||
teamMemberNull isEqualTo teamMemberNull; // true | |||
</sqf> | |||
|s1= [[teamMemberNull]] | |s1= [[teamMemberNull]] | ||
|r1=[[Team Member]] | |r1= [[Team Member]] | ||
|x1= < | |x1= <sqf>!isNull teamMemberNull; // false</sqf> | ||
|seealso= [[addTeamMember]] | |x2= <sqf>str teamMemberNull; // <NULL - team member></sqf> | ||
|x3= <sqf> | |||
if (_teamMember isEqualTo teamMemberNull) then | |||
{ | |||
hint "team member is null"; | |||
}; | |||
</sqf> | |||
|seealso= [[addTeamMember]] [[createTeam]] [[deleteTeam]] [[forEachMemberTeam]] [[removeTeamMember]] [[teamMember]] [[teamName]] [[teams]] [[teamType]] [[controlNull]] [[displayNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]] | |||
}} | }} | ||
Latest revision as of 15:58, 27 August 2022
Description
- Description:
- A non-existent Team Member. To compare non-existent team members use isNull or isEqualTo:
- Groups:
- Teams
Syntax
- Syntax:
- teamMemberNull
- Return Value:
- Team Member
Examples
- Example 1:
- Example 2:
- Example 3:
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