mirror of
https://github.com/Ghostrider-DbD-/IgiLoad.git
synced 2024-08-30 16:52:10 +00:00
Merge branch 'master' of https://github.com/Ghostrider-DbD-/IgiLoad
This commit is contained in:
commit
47329a2325
2992
IgiLoad.sqf
Normal file
2992
IgiLoad.sqf
Normal file
File diff suppressed because it is too large
Load Diff
50
IgiLoadInit.sqf
Normal file
50
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);
|
||||
};
|
10
README.md
Normal file
10
README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# IgiLoad
|
||||
Modifications to support Epoch and blckeagls
|
||||
I take no credit for creating IgiLoad which was originally developed by igi_pl.
|
||||
|
||||
https://forums.bohemia.net/forums/topic/163358-igiload-script-logistical-support/
|
||||
|
||||
I have made modifications to the IgiLoad.sqf to add epoch vehicles and to add loading of crates onto SDV (subs).
|
||||
To use, just replace or current IgiLoad with the one downloaded here and you should be good to go.
|
||||
If you have already modified IgiLoad just merge the one here with yours as appropriate.
|
||||
I will be adding additional Epoch vehicles over the upcoming week to include the upgraded ones supported by Epoch 1.0.0
|
Loading…
Reference in New Issue
Block a user