Background for Fallout 4
Member of the ObjectReference script
voidfunctionReset(ObjectReferenceakTarget=NONE)Native

[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 actor is dead, disabled, and has no enable parent, Reset will enable it. Otherwise, it does not change the enable state of the actor. So if the actor was marked 'Initially Disabled', it won't be disabled by the Reset call.
  • If the object being reset is not loaded, this optional parameter will do nothing, and the reset reference will be reset to it's editor location.

Parameters

ObjectReferenceakTarget=NONE

CK Wiki Description

The reference to optionally move the object that was reset 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)

Related Pages


Additional References

View this function’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.