EVENT TYPE COMBAT END

From Dragon Age Toolset Wiki
Jump to: navigation, search

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.