leader: Difference between revisions
Jump to navigation
Jump to search
m (Removed wrong category) |
m (All in one) |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= global |= Arguments in MP | |||
____________________________________________________________________________________________ | |||
|Returns the group leader for the given unit or group. For dead units, objNull is returned. |= Description | |||
____________________________________________________________________________________________ | |||
| '''leader''' unit |= Syntax | |||
|p1 = unit: [[Object]] | |||
| [[Object]] |= Return value | |||
____________________________________________________________________________________________ | |||
|s2= '''leader''' grp |= Syntax | |||
|p21 = grp: [[Group]] | |||
|r2= [[Object]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1 =<code>leader [[group]] [[player]] <nowiki>==</nowiki> leader [[player]] </code> | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|LEADERUNIT]] | |||
[[Category:Scripting Commands OFP 1.96|LEADERUNIT]] | |||
[[Category:Scripting Commands OFP 1.46|LEADERUNIT]] | |||
[[Category:Scripting Commands ArmA|LEADERUNIT]] | |||
[[Category:Command_Group:_Groups]] |
Revision as of 20:19, 24 October 2006
Description
- Description:
- Returns the group leader for the given unit or group. For dead units, objNull is returned.
- Groups:
- Uncategorised
Syntax
Alternative Syntax
Examples
Additional Information
- See also:
- See also needed
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