-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.sqf
41 lines (32 loc) · 1.17 KB
/
init.sqf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
Use debug controller to debug the scripts.
Just set debug = true and the Debug Controller will automatically
output any debug results into .rpt file
["myScriptName", format ["%1 goes here", _text]] call F90_fnc_debug;
*/
AWSP_Debug = true;
[AWSP_Debug, "init", "[F90 Init] Starting Ascendancy Wars SP", false] call F90_fnc_debug;
F90_MissionStarted = false;
#include "L_ambiCivs\init.sqf"
[] call F90_fnc_initEconomy;
[] spawn F90_fnc_initShopItems;
initDialogVarsDone = false;
[] call F90_fnc_initDialogVars;
waitUntil {initDialogVarsDone};
initVarsDone = false;
[] call F90_fnc_initVars;
waitUntil {initVarsDone};
[] call F90_fnc_initPersistent;
flagfia_0 addAction ["Recruit", {params ["_target", "_caller", "_actionId", "_arguments"]; [_caller] call F90_fnc_showRecruitMenu;}];
player addAction ["<t color='#2DC2DD'>Info Tab</t>", {params ["_target", "_caller", "_actionId", "_arguments"]; [_caller] call F90_fnc_openInfoTab;}, nil, 6, false, true, "", "true", -1, true];
[] call F90_fnc_initRevive;
while {!F90_MissionStarted} do
{
if (!dialog) then
{
[commanderX] call F90_fnc_openInfoTab;
};
sleep 5;
};
waitUntil {F90_MissionStarted};
[] call F90_fnc_initAmbient;