Difference between revisions of "EVENT TYPE PLACEABLE ONCLICK"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(formatting)
m (remove redundant category)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
 +
|sourcefile=script.ldf
 
|when= player clicks on object.
 
|when= player clicks on object.
 
|from= [[engine]]
 
|from= [[engine]]
 
|to=[[placeable]]
 
|to=[[placeable]]
 +
|tocategory1=placeable
 +
|sortkey=PLACEABLE_ONCLICK
 +
|creatorname=oCreature
 +
|targetname=oTarget
 +
|int0name=nUseActionId
 
}}
 
}}
 
[[Category:Event types|PLACEABLE_ONCLICK]]
 
[[Category:Placeables]]
 

Latest revision as of 00:50, 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:
player clicks on object.
Sent from:
engine
Sent to:
placeable
Parameters:

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;
}