mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
getting the fcs to work in MP
This commit is contained in:
parent
93927ac77d
commit
67b3442d17
@ -13,27 +13,55 @@ class Extended_PostInit_EventHandlers {
|
||||
class Extended_Init_EventHandlers {
|
||||
class Tank {
|
||||
class ADDON {
|
||||
clientInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
serverInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
class Car {
|
||||
class ADDON {
|
||||
clientInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
serverInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
class Helicopter {
|
||||
class ADDON {
|
||||
clientInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
serverInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
class Plane {
|
||||
class ADDON {
|
||||
clientInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
serverInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
class Ship_F {
|
||||
class ADDON {
|
||||
clientInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
serverInit = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_Respawn_EventHandlers {
|
||||
class Tank {
|
||||
class ADDON {
|
||||
respawn = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
class Car {
|
||||
class ADDON {
|
||||
respawn = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
class Helicopter {
|
||||
class ADDON {
|
||||
respawn = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
class Plane {
|
||||
class ADDON {
|
||||
respawn = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
class Ship_F {
|
||||
class ADDON {
|
||||
respawn = QUOTE(_this call FUNC(vehicleInit));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -25,7 +25,7 @@ private ["_gunner", "_turret"];
|
||||
_gunner = [_vehicle, _weapon] call EFUNC(common,getGunner);
|
||||
_turret = [_gunner] call EFUNC(common,getTurretIndex);
|
||||
|
||||
if (ACE_player != _gunner) exitWith {};
|
||||
//if (ACE_player != _gunner) exitWith {}; // global
|
||||
|
||||
private ["_FCSMagazines", "_FCSElevation", "_offset"];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user