groupFromNetId
Jump to navigation
Jump to search
Description
- Description:
- Get group with given unique ID.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_group = groupFromNetId "4:45";
Additional Information
- See also:
- objectFromNetIdnetId
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
- Posted on May 9, 2015 - 15:03 (UTC)
- Killzone Kid
-
groupFromNetId in SP is grpNull. Here is the function that will give you universal groupFromNetId that works both in SP and MP (needs KK_fnc_netId from this page netId)
KK_fnc_groupFromNetId = { if (isMultiplayer) exitWith {groupFromNetId _this}; if (typeName _this != "STRING" || isNil "KK_globIDs") exitWith {grpNull}; private "_i"; _i = KK_globIDs find _this; if (_i < 0) exitWith {grpNull}; KK_globIDs select (_i + 1) }; //example hint str ("0:1" call KK_fnc_groupFromNetId);