- Found in:
- Vanilla
eventOnTranslationAlmostComplete()
Description
Wiki Description
Event called when the object reference almost done translating to the destination. This is very useful for things like critters, where you want constant motion, and the script execution delay would otherwise make it possible for the reference to stay immobile for a few frames.
Documentation Comment
Event received when translation is almost complete (from a call to TranslateTo, "almost" is determined by a gamesetting, default is 90% of the way)
Examples
Event OnTranslationAlmostComplete()
Debug.Trace("Translation almost done...")
EndEventAuto-Generated Example
Scriptname MyCoolScript extends ObjectReference
event OnTranslationAlmostComplete()
Debug.trace("Event received - OnTranslationAlmostComplete")
endEvent