Table of Contents

Method WaitForObjectContext

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

WaitForObjectContext()

Notifies then awaits for this object to become the current active object for the purpose of implicitly assigned values (e.g. effect creators).
If the current active object is already this object, then the code runs immediately. Otherwise, it will be run with all other closures.
This is the async equivalent of AssignCommand in NWScript.

public Task WaitForObjectContext()

Returns

Task