a3_exile_occupation/scripts/eventHandlers/getOffBus.sqf
2016-05-09 17:58:20 +01:00

11 lines
272 B
Plaintext

// Triggered if a player gets off the public transport
_transport = _this select 0;
_unit = _this select 2;
if(_transport isKindOf "LandVehicle") then
{
_transport setFuel 0;
_transportDriver = driver _transport;
_transportDriver disableAI "MOVE";
};