a3_exile_occupation/scripts/reactions/getOnBus.sqf

12 lines
274 B
Plaintext
Raw Normal View History

2016-04-14 14:09:04 +00:00
// 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
{
hint "You got on the bus";
SC_bustop = _bus addAction ["Stop the bus", { SC_StopTheBus = true } ];
2016-04-14 14:09:04 +00:00
};