Difference between revisions of "EVENT TYPE PLACEABLE COLLISION"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (split off of event) |
BryanDerksen (Talk | contribs) m (remove redundant category) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{needs review}} | |
− | + | {{event | |
− | + | |sourcefile=script.ldf | |
− | + | |when= player collides with object (if EnableCollisionEvent column in [[placeables.xls]] is non-zero). | |
− | + | |from= [[engine]] | |
− | + | |to= [[placeable]]s | |
− | [[ | + | |tocategory1=placeable |
− | [[ | + | |sortkey=PLACEABLE_COLLISION |
+ | |creatorname=oPlaceable | ||
+ | |object0name=oCreature | ||
+ | }} |
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 collides with object (if EnableCollisionEvent column in placeables.xls is non-zero).
- Sent from:
- engine
- Sent to:
- placeables
- Parameters:
-
- Creator: [Undocumented]
- Object 0: [Undocumented]
Usage
case EVENT_TYPE_PLACEABLE_COLLISION:
{
object oPlaceable = GetEventCreator(ev); //
object oCreature = GetEventObject(ev, 0); //
// insert event-handling code here
break;
}
{
object oPlaceable = GetEventCreator(ev); //
object oCreature = GetEventObject(ev, 0); //
// insert event-handling code here
break;
}