[DEV SERVER] Loading description...
Caveats
CK Wiki - Notes
- This function doesn't completely reset it to the esm like you might think. For instance, faction and relationship data isn't reset.
- If the object being reset is not loaded, this optional parameter will do nothing, and the reset reference will be reset to its editor location.
- Actors don't assume correct position after reset, they appear under the navmesh/terrain in a strange angle, use with caution
- The above can be solved by calling MoveToMyEditorLocation() after calling Reset() on the actor. You may need to use a Utility.Wait() time of 0.1 seconds.Source
Parameters
ObjectReferenceakTarget=NONE
CK Wiki Description
The reference to optionally move the reset the object to.
- Default:None
Examples
; Reset Joe to his original state
Joe.Reset(); Reset Joe to his original state, but positioned at the specified marker
Joe.Reset(JoesMarker)Auto-Generated Example
ObjectReference myObjectReference__akTarget
myObjectReference__toCallFunctionOn.Reset(myObjectReference__akTarget)