Check triggering ref type in TrapBear
This commit is contained in:
parent
800e77ab6b
commit
bca900a356
Binary file not shown.
@ -92,7 +92,7 @@ event OnActivate(objectReference TriggerRef)
|
||||
endEvent
|
||||
|
||||
Bool function checkPerks(objectReference triggerRef)
|
||||
if checkForLightFootPerk
|
||||
if checkForLightFootPerk && triggerRef as actor
|
||||
; ;debug.Trace(self + " is checking if " + triggerRef + " has LightFoot Perk")
|
||||
if (triggerRef as actor).hasPerk(LightFoot)
|
||||
; ;debug.Trace(self + " has found that " + triggerRef + " has LightFoot Perk")
|
||||
|
Loading…
Reference in New Issue
Block a user