Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
431 B
15 lines
431 B
3 years ago
|
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
|