Difference between revisions of "EVENT TYPE PLACEABLE COLLISION"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(parameter)
(parameters from cplaceable.cpp)
Line 7: Line 7:
 
|tocategory1=placeable
 
|tocategory1=placeable
 
|sortkey=PLACEABLE_COLLISION
 
|sortkey=PLACEABLE_COLLISION
 +
|creatorname=oPlaceable
 +
|object0name=oCreature
 
}}
 
}}

Revision as of 19:32, 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 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;
}