a3_exile_occupation/scripts/reactions/getOffBus.sqf
2016-05-05 12:23:52 +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";
};