Difference between revisions of "EVENT TYPE PLACEABLE COLLISION"

From Dragon Age Toolset Wiki
Jump to: navigation, search
Line 11: Line 11:
 
}}
 
}}
  
[[Category:Event types|PLACEABLE_COLLISION]
+
[[Category:Event types|PLACEABLE_COLLISION]]
 
[[Category:Placeable events|PLACEABLE_COLLISION]]
 
[[Category:Placeable events|PLACEABLE_COLLISION]]

Revision as of 03:46, 4 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:
player collides with object (if EnableCollisionEvent column in placeables.xls is non-zero).
Sent from:
engine
Sent to:
placeables
Parameters:

Usage

case EVENT_TYPE_PLACEABLE_COLLISION:
{
object oPlaceable = GetEventCreator(ev); //
object oCreature = GetEventObject(ev, 0); //

// insert event-handling code here

break;
}