ShowOff:OnCompleteObjective

From GECK
Jump to: navigation, search

An event handler added by the ShowOff NVSE Plugin version 1.50.

Description

This event runs whenever a Quest's objective is completed.

Dispatched Args

The args dispatched to handlers are:

  1. BaseForm: The quest whose objective was completed
  2. Int: The completed objective's number.

Syntax

Use SetEventHandler / SetEventHandlerAlt with the event name "ShowOff:OnCompleteObjective".

Handler Script

A skeleton handler script for this event:

scn TestShowOffOnCompleteObjective

begin Function { ref rQuest, int iObjective }

     print "TestShowOffOnCompleteObjective >> RAN!"
     printvar rQuest
     printvar iObjective 
end

Example

SetEventHandler "ShowOff:OnCompleteObjective" TestShowOffOnCompleteObjective

Will register TestShowOffOnCompleteObjective as an event handler for the event.

See Also