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.
12 lines
529 B
12 lines
529 B
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 |