groupFromNetId: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1= Groups | |gr1= Groups | ||
|gr2= Multiplayer | |gr2= Multiplayer | ||
| Get group with given unique ID. For objects use [[objectFromNetId]]. As this command is MP only, you can use [[BIS_fnc_groupFromNetId]], which extends the use to SP as well. | | Get group with given unique ID. For objects use [[objectFromNetId]]. As this command is MP only, you can use [[BIS_fnc_groupFromNetId]], which extends the use to SP as well. | ||
| '''groupFromNetId''' id | | '''groupFromNetId''' id | ||
|p1= id: [[String]] | |p1= id: [[String]] | ||
| [[Group]] | | [[Group]] | ||
|x1= <code>_group = [[groupFromNetId]] "4:45";</code> | |x1= <code>_group = [[groupFromNetId]] "4:45";</code> | ||
| [[objectFromNetId]], [[netId]], [[BIS_fnc_objectFromNetId]], [[BIS_fnc_netId]], [[BIS_fnc_groupFromNetId]] | | [[objectFromNetId]], [[netId]], [[BIS_fnc_objectFromNetId]], [[BIS_fnc_netId]], [[BIS_fnc_groupFromNetId]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:40, 18 January 2021
Description
- Description:
- Get group with given unique ID. For objects use objectFromNetId. As this command is MP only, you can use BIS_fnc_groupFromNetId, which extends the use to SP as well.
- Groups:
- GroupsMultiplayer
Syntax
Examples
- Example 1:
_group = groupFromNetId "4:45";
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