UT Surrender

From Dragon Age Toolset Wiki
Jump to: navigation, search

Forces a creature to stop combat and surrender to the player

void UT_Surrender(
object oCreature
);
Parameters:
oCreature
the surrendering creature
Returns:

Nothing.

Source:

Core Resources.utility_h

Description

Sets a creature to surrender. This includes stopping combat, changing group hostility and to fire a one liner conversation (set GEN_SURRENDER_DURING). This function also sets the creature to trigger special post-surrender dialog after the surrendering if the variables SURR_PLOT_NAME and SURR_PLOT_FLAG are set appropriately on the creature.

No one liner conversation fired; straight to surrender dialog.