mirror of
https://github.com/Ghostrider-DbD-/IgiLoad.git
synced 2024-08-30 16:52:10 +00:00
Updated definitions for Epoch 1.2.0
This commit is contained in:
parent
4481f3e6ad
commit
41b8694f6b
3016
IgiLoad/IgiLoad.sqf
Normal file
3016
IgiLoad/IgiLoad.sqf
Normal file
File diff suppressed because it is too large
Load Diff
50
IgiLoad/IgiLoadInit.sqf
Normal file
50
IgiLoad/IgiLoadInit.sqf
Normal file
@ -0,0 +1,50 @@
|
||||
waituntil {!isnil "bis_fnc_init"};
|
||||
//if (isDedicated) exitwith {};
|
||||
//if (isServer) exitwith {};
|
||||
//waitUntil { !(isNull player) };
|
||||
waitUntil { time > 0 };
|
||||
|
||||
IL_EV_Count = 0;
|
||||
IL_Veh_Array = [];
|
||||
|
||||
systemChat "IgiLoad is loading. Please wait...";
|
||||
sleep (random 30);
|
||||
|
||||
systemChat Format["IgiLoad init Player: %1", Player];
|
||||
|
||||
_null = [Player] execVM "IgiLoad\IgiLoad.sqf";
|
||||
waitUntil {scriptDone _null};
|
||||
|
||||
sleep (random (IL_Check_Veh_Max - IL_Check_Veh_Min));
|
||||
|
||||
{
|
||||
if ((typeOf _x) in (IL_Supported_Vehicles_All)) then
|
||||
{
|
||||
IL_Veh_Array = IL_Veh_Array + [_x];
|
||||
_null = [_x] execVM "IgiLoad\IgiLoad.sqf";
|
||||
waitUntil {scriptDone _null};
|
||||
};
|
||||
} forEach (vehicles);
|
||||
|
||||
systemChat "IgiLoad loaded. Have fun :)";
|
||||
|
||||
while {true} do
|
||||
{
|
||||
sleep (IL_Check_Veh_Min + (random (IL_Check_Veh_Max - IL_Check_Veh_Min)));
|
||||
|
||||
//Delete vehicles from "IL_Veh_Array" if not in "vehicles"
|
||||
{
|
||||
if !(_x in vehicles) then
|
||||
{
|
||||
IL_Veh_Array = IL_Veh_Array - [_x];
|
||||
};
|
||||
} forEach (IL_Veh_Array);
|
||||
{
|
||||
if (((typeOf _x) in (IL_Supported_Vehicles_All)) && !(_x in IL_Veh_Array)) then
|
||||
{
|
||||
IL_Veh_Array = IL_Veh_Array + [_x];
|
||||
_null = [_x] execVM "IgiLoad\IgiLoad.sqf";
|
||||
waitUntil {scriptDone _null};
|
||||
};
|
||||
} forEach (vehicles);
|
||||
};
|
BIN
IgiLoad/images/load.paa
Normal file
BIN
IgiLoad/images/load.paa
Normal file
Binary file not shown.
BIN
IgiLoad/images/unload.paa
Normal file
BIN
IgiLoad/images/unload.paa
Normal file
Binary file not shown.
BIN
IgiLoad/images/unload_all_para.paa
Normal file
BIN
IgiLoad/images/unload_all_para.paa
Normal file
Binary file not shown.
BIN
IgiLoad/images/unload_para.paa
Normal file
BIN
IgiLoad/images/unload_para.paa
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user