15 lines
431 B
Plaintext
15 lines
431 B
Plaintext
|
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
|