Difference between revisions of "EVENT TYPE COMBAT END"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (remove redundant category)
 
Line 10: Line 10:
  
 
[[creature_core]] handles this event. It checks if the creature is set to surrender (local int SURR_SURRENDER_ENABLED) and initiates dialogue if it is. It then uses the [[Rubber_GoHome]] function to send the creature back to its home location.
 
[[creature_core]] handles this event. It checks if the creature is set to surrender (local int SURR_SURRENDER_ENABLED) and initiates dialogue if it is. It then uses the [[Rubber_GoHome]] function to send the creature back to its home location.
 
[[Category:Event types|COMBAT_END]]
 
[[Category:Creature events|COMBAT_END]]
 

Latest revision as of 00:48, 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:
a creature doesn't perceive any more hostiles.
Sent from:
Sent to:
creatures
Parameters:
None.

Usage

case EVENT_TYPE_COMBAT_END:
{

// insert event-handling code here

break;
}
creature_core handles this event. It checks if the creature is set to surrender (local int SURR_SURRENDER_ENABLED) and initiates dialogue if it is. It then uses the Rubber_GoHome function to send the creature back to its home location.