Background for Fallout 4
Member of the ReferenceAlias script
boolfunctionTryToDisableNoWait()

Description

Wiki Description

This is a convenient way to disable a reference (without waiting for it to diable) 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.DisableNoWait(...) on them without having to test for a reference being present first.

Documentation Comment

Convenience function - wshen


Caveats


Examples

; Disable the barrier, but don't wait for it to be disabled
BarrierAlias.DisableNoWait()

Auto-Generated Example

bool returnedValue = myReferenceAlias__toCallFunctionOn.TryToDisableNoWait()

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.