teamMemberNull: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (description example) |
m (template:command argument fix) |
||
Line 15: | Line 15: | ||
| '''teamMemberNull''' |= Syntax | | '''teamMemberNull''' |= Syntax | ||
| [[Team Member]] |= | | [[Team Member]] |RETURNVALUE= | ||
Line 22: | Line 22: | ||
|x3= <code>[[if]] (_teamMember [[isEqualTo]] [[teamMemberNull]]) [[then]] { | |x3= <code>[[if]] (_teamMember [[isEqualTo]] [[teamMemberNull]]) [[then]] { | ||
[[hint]] "is null member"; | [[hint]] "is null member"; | ||
};</code> |= | };</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addTeamMember]], [[createTeam]], [[deleteTeam]], [[forEachMemberTeam]], [[removeTeamMember]], [[teamMember]], [[teamName]], [[teams]], [[teamType]], [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]] |= | | [[addTeamMember]], [[createTeam]], [[deleteTeam]], [[forEachMemberTeam]], [[removeTeamMember]], [[teamMember]], [[teamName]], [[teams]], [[teamType]], [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:38, 7 April 2019
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