enderalse/source/scripts/_00e_moveactortoeditorlocationsc.psc

12 lines
529 B
Plaintext
Raw Normal View History

Scriptname _00E_MoveActorToEditorLocationSC extends ObjectReference
{This script fixes a bug that somehow causes NPCs being send to Vyn 0,0 and get stuck there. It's not clear what actually causes this behaviour, there are multiple assumptions: Mod usage, Engine bug, deleted markers that are somehow still referenced in packages. Very rare bug, issue ERB-589}
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef != PlayerREF
akActionRef.MoveToMyEditorLocation()
EndIf
EndEvent
Actor Property PlayerREF Auto