ACR_Wealth.ACR_Wealth.ExecuteScriptSituation C# (CSharp) Method

ExecuteScriptSituation() public method

This routine is invoked when a script situation created by the script is resumed for execution (for example, a DelayCommand continuation). Its purpose is to perform the appropriate resume action for this continuation. Note that a script situation may be resumed after the original script object has been deleted, or even after the host process has been exited and restarted (in the save of a saved game that has been loaded).
public ExecuteScriptSituation ( [ ScriptSituationId, [ Locals, [ ObjectSelf ) : void
ScriptSituationId [ Supplies the ScriptSituationId that /// was provided to the initial StoreState request, which is intended /// to uniquely identify the site within which the script situation was /// created.
Locals [ Supplies an array of local variables that were /// provided to the initial StoreState request. The locals may only /// include standard NWScript types (Int32, UInt32, Single, and engine /// structures).
ObjectSelf [ Supplies the "OBJECT_SELF" object id of /// the object that the script is being executed over. This may be the /// invalid object id (Script.OBJECT_INVALID) if no object is /// associated with the execute script request.
return void
        public void ExecuteScriptSituation([In] UInt32 ScriptSituationId, [In] object[] Locals, [In] UInt32 ObjectSelf)
        {
            //
            // Call the helper function.
            //

            DispatchExecuteScriptSituation(ScriptSituationId, Locals, ObjectSelf);
        }