Difference between revisions of "EVENT TYPE UNLOCKED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split off of event)
 
(remove redundant category)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*<b>Sent When:</b> Sent by script when placeable is unlocked.
+
{{needs review}}
*<b>Sent From:</b>
+
{{event
*<b>Sent To:</b> placeable
+
|sourcefile=script.ldf
 
+
|when=sent by script when placeable is unlocked
Parameters:
+
|from=
 
+
|to=placeable
[[Category:Event types|UNLOCKED]]
+
|object0name=oUser
[[Category:Placeables]]
+
|object0desc=the entity doing the unlocking
 +
|tocategory1=Placeable
 +
|sortkey=UNLOCKED
 +
}}

Latest revision as of 01:02, 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:
sent by script when placeable is unlocked
Sent from:
Sent to:
placeable
Parameters:
  • Object 0: the entity doing the unlocking

Usage

case EVENT_TYPE_UNLOCKED:
{
object oUser = GetEventObject(ev, 0); // the entity doing the unlocking

// insert event-handling code here

break;
}