Difference between revisions of "EVENT TYPE USE PLOTACTION"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (Created page with '{{needs review}} {{event |sourcefile=script.ldf |when= |from= |to= }} USE_PLOTACTION') |
BryanDerksen (Talk | contribs) (Information from ArmyControl.cpp) |
||
Line 3: | Line 3: | ||
|sourcefile=script.ldf | |sourcefile=script.ldf | ||
|when= | |when= | ||
− | |from= | + | |from=[[engine]] |
− | |to= | + | |to=Areas |
+ | |tocategory1=area | ||
+ | |sortkey=USE_PLOTACTION | ||
+ | |creatorname=oPlayer | ||
+ | |creatordesc=The player | ||
+ | |int0name=nArmyId | ||
+ | |int0desc=Army ID selected | ||
}} | }} | ||
− | + | This event appears to be used with the army control GUI. |
Revision as of 16:38, 20 August 2009
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;
}
{
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.