Background for Fallout 4
Member of the ObjectReference script

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...")
EndEvent

Auto-Generated Example

Scriptname MyCoolScript extends ObjectReference

event OnTranslationAlmostComplete()
    Debug.trace("Event received - OnTranslationAlmostComplete")
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.