- Found in:
- Vanilla
Description
Wiki Description
Forces this alias to use the specified reference.
Documentation Comment
Forces this alias to use the specified reference
Caveats
CK Wiki - Notes
- Use of this function causes actors in any current running scene in the quest to re-eval their packages. Calling this multiple times in a row can result in actors in running scenes to lose their scene package permanently and result in brokenness. Do not call this multiple times in a row while a scene is running in the quest whose alias you are forcing to.
Parameters
Examples
; Force the alias to use us as the reference (if script extends ObjectReference)
Alias_JohnDoe.ForceRefTo(self)Auto-Generated Example
ObjectReference myObjectReference__akNewRef
myReferenceAlias__toCallFunctionOn.ForceRefTo(myObjectReference__akNewRef)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
