Mod:Creation Kit/OnDistanceLessThan - ScriptObject

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Mod:Creation Kit/Category:Events Member of: ScriptObject

Event called when two objects are less then the registered distance apart - if this script is registered for it.

This event will only be sent to the specific script that registered for it. Other scripts attached to the same form/alias/active magic effect will not receive the event unless they also register.

Parameters

 * akObj1: The first ObjectReference which the distance check was performed on.
 * akObj2: The second ObjectReference which the distance check was performed on.
 * afDistance: The exact distance between the two objects at the time the event fired.