Background for Skyrim SE
Member of the ReferenceAlias script
boolfunctionTryToReset()

Description

Wiki Description

This is a convenient way to reset 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.Reset(...) on them without having to test for a reference being present first.

Documentation Comment

Convenience function - jduvall


Caveats


Examples

; Try to reset the chest
ChestAlias.TryToReset()

Auto-Generated Example

bool returnedValue = myReferenceAlias__toCallFunctionOn.TryToReset()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.