Bind triggers to RA Shellmap's APC passengers.

This commit is contained in:
Paul Chote
2019-08-19 08:36:32 +00:00
committed by abcdefg30
parent f31cfe5b96
commit a491bae39b

View File

@@ -62,6 +62,10 @@ BindActorTriggers = function(a)
end
if a.HasProperty("HasPassengers") then
Trigger.OnPassengerExited(a, function(t, p)
BindActorTriggers(p)
end)
Trigger.OnDamaged(a, function()
if a.HasPassengers then
a.Stop()