ShowOff:OnDisplayObjective

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 displayed.

Dispatched Args

The args dispatched to handlers are:

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

Syntax

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

Handler Script

A skeleton handler script for this event:

scn TestShowOffOnDisplayObjective

begin Function { ref rQuest, int iObjective }

     print "TestShowOffOnDisplayObjective >> RAN!"
     printvar rQuest
     printvar iObjective 

end

Example

SetEventHandler "ShowOff:OnDisplayObjective" TestShowOffOnDisplayObjective

Will register TestShowOffOnDisplayObjective as an event handler for the event.

See Also