Difference between revisions of "EVENT TYPE UNLOCK FAILED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (|sourcefile=events_h)
m
Line 2: Line 2:
 
{{event
 
{{event
 
|sourcefile=events_h
 
|sourcefile=events_h
|when=
+
|when=Fired to placeable when unlock attempt fails.
 
|from=
 
|from=
 
|to=placeables
 
|to=placeables

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