Dynamic Groups – Arma 3
(example links) |
m (warning) |
||
Line 1: | Line 1: | ||
=<div class="center" style="width: auto; margin-left: auto; margin-right: auto;">DYNAMIC GROUPS</div>= | =<div class="center" style="width: auto; margin-left: auto; margin-right: auto;">DYNAMIC GROUPS</div>= | ||
{{warning| | |||
'''''This page contain basic informations about how to use the system in your missions.''''' | '''''This page contain basic informations about how to use the system in your missions.''''' | ||
Line 6: | Line 7: | ||
'''''It may change rapidly, use it carefully on your own risk.''''' | '''''It may change rapidly, use it carefully on your own risk.''''' | ||
}} | |||
[[File:-Arma 3- DynamicGroups.jpg|thumb|center|alt=Dynamic Groups|Dynamic Groups]] | [[File:-Arma 3- DynamicGroups.jpg|thumb|center|alt=Dynamic Groups|Dynamic Groups]] |
Revision as of 14:29, 8 June 2015
DYNAMIC GROUPS
Installation
To add Dynamic Groups functionality to your mission do the following steps:
InitServer.sqf
Create a file in your mission root folder and name it initServer.sqf (if you don't have it there already). This file is executed only on the server, when the mission starts. Onto this file, copy & paste the following line, which will make the server initialize the Dynamic Groups framework.
["Initialize"] call BIS_fnc_dynamicGroups;
Note that, this function has no effect if called in a machine which is not the server.
InitPlayerLocal.sqf
Create another file in your mission root folder and name it initPlayerLocal.sqf. (if you don't have it there already). This file is executed only by machines which have a human player when the mission starts, which means everyone but a dedicated server, will actually execute this file. Onto this file, copy & paste the following line, which will make a client/player initialize the Dynamic Groups framework.
["InitializePlayer", [player]] call BIS_fnc_dynamicGroups;
Accessing the Dynamic Groups interface
The Dynamic Groups interface is tied to TeamSwitch action, and it's default state keyboard key is T.