Difference between revisions of "EVENT TYPE UNLOCKED"

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

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;
}