4
Fork 0

Check triggering ref type in TrapBear

development
Eddoursul 2 months ago
parent 800e77ab6b
commit bca900a356
  1. BIN
      scripts/trapbear.pex
  2. 2
      source/scripts/trapbear.psc

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…
Cancel
Save