Difference between revisions of "EVENT TYPE USE PLOTACTION"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(remove category, add link)
 
Line 13: Line 13:
 
}}
 
}}
  
This event appears to be used with the army control GUI.
+
This event appears to be used with the [[army control]] GUI.
[[Category:Event types|PLOTACTION]]
+
 
[[Category:Area events|PLOTACTION]]
 
[[Category:Area events|PLOTACTION]]

Latest revision as of 00:34, 12 February 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:
Sent from:
engine
Sent to:
Areas
Parameters:
  • Creator: The player
  • Integer 0: Army ID selected

Usage

case EVENT_TYPE_USE_PLOTACTION:
{
object oPlayer = GetEventCreator(ev); // The player
int nArmyId = GetEventInteger(ev, 0); // Army ID selected

// insert event-handling code here

break;
}

This event appears to be used with the army control GUI.