Difference between revisions of "EVENT TYPE UNLOCKED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
Line 10: Line 10:
  
 
[[Category:Event types|UNLOCKED]]
 
[[Category:Event types|UNLOCKED]]
[[Category:Placeables]]
+
[[Category:Placeable events]UNLOCKED]

Revision as of 04:07, 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:
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;
}
[[Category:Placeable events]UNLOCKED]