Difference between revisions of "EVENT TYPE USE PLOTACTION"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Information from ArmyControl.cpp)
Line 14: Line 14:
  
 
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]]

Revision as of 05:45, 3 January 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.