v24 fixes & tweaks
This commit is contained in:
parent
71cd1d9f0c
commit
b4e36888f2
1
$PBOPREFIX$
Normal file
1
$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
|||||||
|
x\addons\a3_exile_occupation
|
1
PboPrefix.txt
Normal file
1
PboPrefix.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
x\addons\a3_exile_occupation
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Server Occupation script by second_coming
|
// Server Occupation script by second_coming
|
||||||
//
|
//
|
||||||
SC_occupationVersion = "v23 (18-04-2016)";
|
SC_occupationVersion = "v24 (18-04-2016)";
|
||||||
//
|
//
|
||||||
// http://www.exilemod.com/profile/60-second_coming/
|
// http://www.exilemod.com/profile/60-second_coming/
|
||||||
//
|
//
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
_logDetail = _this select 0;
|
_logDetail = _this select 0;
|
||||||
|
|
||||||
if(SC_infiSTAR_log) then
|
if(SC_infiSTAR_log && !isNil "INFISTARVERSION") then
|
||||||
{
|
{
|
||||||
['A3_EXILE_OCCUPATION',_logDetail] call FNC_A3_CUSTOMLOG;
|
['A3_EXILE_OCCUPATION',_logDetail] call FNC_A3_CUSTOMLOG;
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@ busDriver setCaptive true;
|
|||||||
_publicBus = createVehicle [SC_occupyPublicBusClass, _spawnLocation, [], 0, "CAN_COLLIDE"];
|
_publicBus = createVehicle [SC_occupyPublicBusClass, _spawnLocation, [], 0, "CAN_COLLIDE"];
|
||||||
SC_publicBusArray = SC_publicBusArray + [_publicBus];
|
SC_publicBusArray = SC_publicBusArray + [_publicBus];
|
||||||
_publicBus setVariable ["SC_assignedDriver", busDriver,true];
|
_publicBus setVariable ["SC_assignedDriver", busDriver,true];
|
||||||
|
_publicBus setVariable ["SC_publicBus", true,true];
|
||||||
_publicBus setVariable ["SC_vehicleSpawnLocation", _spawnLocation,true];
|
_publicBus setVariable ["SC_vehicleSpawnLocation", _spawnLocation,true];
|
||||||
_publicBus addEventHandler ["getin", "_this call SC_fnc_getOnBus;"];
|
_publicBus addEventHandler ["getin", "_this call SC_fnc_getOnBus;"];
|
||||||
_publicBus addEventHandler ["getout", "_this call SC_fnc_getOffBus;"];
|
_publicBus addEventHandler ["getout", "_this call SC_fnc_getOffBus;"];
|
||||||
|
Loading…
Reference in New Issue
Block a user