Difference between revisions of "EVENT TYPE PLOT COMPLETED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{needs review}} {{event |sourcefile=script.ldf |when= |from= |to= }} PLOT_COMPLETED')
 
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{event
 
{{event
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
|when=
+
|when=The player completes the final step of a quest (moved to completed section of journal)
|from=
+
|from=[[engine]]
|to=
+
|to=module
 +
|tocategory1=module
 +
|sortkey=PLOT_COMPLETED
 +
|creatorname=oModule
 +
|string0name=sName
 
}}
 
}}
 +
== Comment ==
 +
This event does exactly what it says.
  
[[Category:Event types|PLOT_COMPLETED]]
+
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. 
 +
[[Category:Plot events|PLOT_COMPLETED]]

Latest revision as of 18:54, 19 November 2010

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.