Difference between revisions of "EVENT TYPE PLACEABLE ONCLICK"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (update template) |
BryanDerksen (Talk | contribs) (add parameters from GameActionPerformer.cpp) |
||
Line 7: | Line 7: | ||
|tocategory1=placeable | |tocategory1=placeable | ||
|sortkey=PLACEABLE_ONCLICK | |sortkey=PLACEABLE_ONCLICK | ||
+ | |creatorname=oCreature | ||
+ | |targetname=oTarget | ||
+ | |int0name=nUseActionId | ||
}} | }} |
Revision as of 19:53, 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:
- player clicks on object.
- Sent from:
- engine
- Sent to:
- placeable
- Parameters:
-
- Creator: [Undocumented]
- Target: [Undocumented]
- Integer 0: [Undocumented]
Usage
case EVENT_TYPE_PLACEABLE_ONCLICK:
{
object oCreature = GetEventCreator(ev); //
object oTarget = GetEventTarget(ev); //
int nUseActionId = GetEventInteger(ev, 0); //
// insert event-handling code here
break;
}
{
object oCreature = GetEventCreator(ev); //
object oTarget = GetEventTarget(ev); //
int nUseActionId = GetEventInteger(ev, 0); //
// insert event-handling code here
break;
}