UT Surrender

From Dragon Age Toolset Wiki
Revision as of 18:48, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = UT_Surrender |brief = Forces a creature to stop combat and surrender to the player |param1type = object |param1name = oCreature |param1desc = the surrenderin...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.