a3_exile_occupation/scripts/reactions/getOffBus.sqf
2016-04-27 11:09:01 +01:00

13 lines
274 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";
};