- Found in:
- Vanilla
Description
Wiki Description
This is a convenient way to move a reference in an alias without calling ReferenceAlias.GetReference() on it. It's mostly useful in cases where you have lots of aliases that may or may not be filled and you want to call ObjectReference.MoveTo(...) on them without having to test for a object reference being present first.
Documentation Comment
Convenience function - jduvall
Parameters
ObjectReferenceRefToMoveTo
CK Wiki Description
The reference to move this alias's reference to
Examples
; Move the bandit to his marker
BanditAlias.TryToMoveTo(MarkerRef)Auto-Generated Example
ObjectReference myObjectReference__RefToMoveTo
bool returnedValue = myReferenceAlias__toCallFunctionOn.TryToMoveTo(myObjectReference__RefToMoveTo)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
