setGroupOwner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[owner]], [[setOwner]], [[ | | [[owner]], [[setOwner]], [[groupOwner]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 19:52, 5 March 2015
Description
- Description:
- 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.
- 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