EVENT TYPE PLOT COMPLETED

From Dragon Age Toolset Wiki
Jump to: navigation, search

The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.

Source:
script.ldf
Sent when:
The player completes the final step of a quest (moved to completed section of journal)
Sent from:
engine
Sent to:
module
Parameters:

Usage

case EVENT_TYPE_PLOT_COMPLETED:
{
object oModule = GetEventCreator(ev); //
string sName = GetEventString(ev, 0); //

// insert event-handling code here

break;
}

Comment

This event does exactly what it says.

So, it won't fire for sub-plots whose parent is a plot (because nothing moves to the completed section in that case).

Consequently, the event is useless for determining whether all sub-plots within a main plot have been completed.

It doesn't appear to be used in the OC.