OnTranslationAlmostComplete - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
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.
Syntax[edit | edit source]
Event OnTranslationAlmostComplete()
Parameters[edit | edit source]
None
Examples[edit | edit source]
Event OnTranslationAlmostComplete()
Debug.Trace("Translation almost done...")
EndEvent