Difference between revisions of "EVENT TYPE UNLOCK FAILED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{needs review}} {{event |when= |from= |to=placeables |object0name=oUser |object0desc=the entity attempting to unlock the placeable. }} UNLOCK_FAILED [[...')
 
m (remove redundant category)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
|when=
+
|sourcefile=events_h
 +
|when=Fired to placeable when unlock attempt fails.
 
|from=
 
|from=
 
|to=placeables
 
|to=placeables
 +
|tocategory1=placeable
 +
|sortkey=UNLOCK_FAILED
 
|object0name=oUser
 
|object0name=oUser
 
|object0desc=the entity attempting to unlock the placeable.
 
|object0desc=the entity attempting to unlock the placeable.
 
}}
 
}}
 
[[Category:Event types|UNLOCK_FAILED]]
 
[[Category:Placeables]]
 

Latest revision as of 01:01, 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:
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;
}