a3_exile_occupation/scripts/reactions/getOnBus.sqf
2016-04-14 15:09:04 +01:00

11 lines
244 B
Plaintext

// Triggered if a player gets on the public bus
// adds an addaction to stop the bus
_bus = _this select 0;
_unit = _this select 2;
if(isPlayer _unit) then
{
_bustop = _unit addAction ["Stop the bus", { SC_StopTheBus = true } ];
};