Mod:Creation Kit/Reset - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Resets this object reference to its original location, resets its inventory, resurrects it if it's an actor, and in general tries to get it back to its original state. May optionally move it to the location of the specified reference instead.

Syntax
Function Reset(ObjectReference akTarget = None) native

Parameters

 * akTarget: The reference to optionally move the object that was reset to.
 * Default: None

Return Value
None.

Examples
Joe.Reset Joe.Reset(JoesMarker)
 * Reset Joe to his original state
 * Reset Joe to his original state, but positioned at the specified marker