Difference between revisions of "EVENT TYPE UNLOCK FAILED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
Line 10: Line 10:
 
|object0desc=the entity attempting to unlock the placeable.
 
|object0desc=the entity attempting to unlock the placeable.
 
}}
 
}}
 +
[[Category:Event types|UNLOCK_FAILED]]
 +
[[Category:Placeable events|UNLOCK_FAILED]]

Revision as of 04:08, 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:
events_h
Sent when:
Fired to placeable when unlock attempt fails.
Sent from:
Sent to:
placeables
Parameters:
  • Object 0: the entity attempting to unlock the placeable.

Usage

case EVENT_TYPE_UNLOCK_FAILED:
{
object oUser = GetEventObject(ev, 0); // the entity attempting to unlock the placeable.

// insert event-handling code here

break;
}