setGroupOwner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m ((red link category fix) Arma 3 doesnt use 2 uppercase A's when written. BIKI is case sensitive.)
m (Small clarification)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Changes the ownership of a group to a given client. Group leader can't be a player. Only works when called from a server. Returns true if locality was changed. |= Description
| Changes the ownership of a group (and all its units) to a given client. Group leader can't be a player. Only works when called from a server. Returns true if locality was changed. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:17, 19 March 2015

Hover & click on the images for description

Description

Description:
Changes the ownership of a group (and all its units) to a given client. Group leader can't be a player. Only works when called from a server. Returns true if locality was changed.
Groups:
Uncategorised

Syntax

Syntax:
group setGroupOwner clientID
Parameters:
group: Group -
clientID: Number - clientID of the new owner
Return Value:
Boolean

Examples

Example 1:
_localityChanged = _someGroup setGroupOwner (owner _playerObject);

Additional Information

See also:
ownersetOwnergroupOwner

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