fix cfgfunctions and add init declaration
This commit is contained in:
@@ -45,10 +45,14 @@ class milsim
|
|||||||
};
|
};
|
||||||
|
|
||||||
class resupply {
|
class resupply {
|
||||||
|
class crateDefinitions {};
|
||||||
class createAmmoBox {};
|
class createAmmoBox {};
|
||||||
|
class createBox {};
|
||||||
|
class createCSWBox {};
|
||||||
|
class createLaunchersBox {};
|
||||||
|
class createMedicalBox {};
|
||||||
class createMortarBox {};
|
class createMortarBox {};
|
||||||
class createWeaponsBox {};
|
class createWeaponsBox {};
|
||||||
class createMedicalBox {};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class ambience {
|
class ambience {
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
if ( !hasInterface ) exitWith {};
|
if ( !hasInterface ) exitWith {};
|
||||||
|
|
||||||
|
// define milsim_resupply_crateDefinitions
|
||||||
|
call milsim_fnc_crateDefinitions;
|
||||||
|
|
||||||
["InitializePlayer", [player, true]] call BIS_fnc_dynamicGroups;
|
["InitializePlayer", [player, true]] call BIS_fnc_dynamicGroups;
|
||||||
|
|
||||||
nil;
|
nil;
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
if (!isServer) exitWith {};
|
if (!isServer) exitWith {};
|
||||||
|
|
||||||
|
// define milsim_resupply_crateDefinitions
|
||||||
|
call milsim_fnc_crateDefinitions;
|
||||||
|
|
||||||
_fixedAssets = [
|
_fixedAssets = [
|
||||||
["Ares", "USAF_A10", 0],
|
["Ares", "USAF_A10", 0],
|
||||||
["Odyssey", "RHSGREF_A29B_HIDF", 0],
|
["Odyssey", "RHSGREF_A29B_HIDF", 0],
|
||||||
@@ -50,6 +53,8 @@ missionNamespace setVariable ["milsim_var_rotaryAssets", _rotaryAssets];
|
|||||||
publicVariable "milsim_var_fixedAssets";
|
publicVariable "milsim_var_fixedAssets";
|
||||||
publicVariable "milsim_var_rotaryAssets";
|
publicVariable "milsim_var_rotaryAssets";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Initializes the Dynamic Groups framework and groups
|
// Initializes the Dynamic Groups framework and groups
|
||||||
["Initialize", [true]] call BIS_fnc_dynamicGroups;
|
["Initialize", [true]] call BIS_fnc_dynamicGroups;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user