Dynamic Groups – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:


====InitServer.sqf====
====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.
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.
<blockquote>
["Initialize"] call BIS_fnc_dynamicGroups;
</blockquote>
 
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'''.

Revision as of 14:51, 8 June 2015

DYNAMIC GROUPS

This page contain basic informations about how to use the system in your missions.

This system is not considered done and it is still subject to change.

It may change rapidly, use it carefully on your own risk.

Dynamic Groups
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.