enderalse/source/scripts/_00e_defaultundetectabletrigger.psc

15 lines
431 B
Plaintext
Raw Normal View History

ScriptName _00E_DefaultUndetectableTrigger Extends ObjectReference
{Add this script to a trigger and if the player stays in the volume of it he couldn't be detected
even if the enemy stands right infront of him - should be placed wise}
Actor Property playerRef Auto
{Let it autofill in the CK}
Event OnTrigger(ObjectReference ref)
If(ref == playerRef)
playerRef.SetAlert(False)
playerRef.StopCombatAlarm()
EndIf
EndEvent