leader: Difference between revisions
Jump to navigation
Jump to search
m (add. see also) |
mNo edit summary |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''leader''' | | [[Object#Unit|Unit]] <nowiki>=</nowiki> '''leader''' [[Object#Unit|Unit]] |= Syntax | ||
|p1 = | |p1 = [[Object#Unit|Unit]] | ||
| [[Object]] |= Return value | | [[Object]] |= Return value | ||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|s2= '''leader''' | |s2= [[Object#Unit|Unit]] <nowiki>=</nowiki> '''leader''' [[Group]]|= Syntax | ||
|p21 = | |p21 = [[Group]] | ||
|r2= [[Object]] |= Return value | |r2= [[Object]] |= Return value |
Revision as of 02:53, 28 August 2007
Description
- Description:
- Returns the group leader for the given unit or group. For dead units, objNull is returned.
- Groups:
- Uncategorised
Syntax
Alternative Syntax
Examples
- Example 1:
leader group player == leader player
- Example 2:
_GroupLeader = leader (group (vehicle player))
- Example 3:
_UnitLeader = leader player
Additional Information
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