teamMemberNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description example)
m (template:command argument fix)
Line 15: Line 15:
| '''teamMemberNull''' |= Syntax
| '''teamMemberNull''' |= Syntax


| [[Team Member]] |= RETURNVALUE
| [[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> |= EXAMPLE1
};</code> |EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[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]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:38, 7 April 2019

Hover & click on the images for description

Description

Description:
A non-existent Team Member. To compare non-existent team members use isNull or isEqualTo:
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

Notes

Bottom Section