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