SetAttackResult

From Dragon Age Toolset Wiki
Jump to: navigation, search

This function sets the results of an attack

void SetAttackResult(
object oAttacker,
int nResult1,
effect eDamageEffect1,
int nResult2,
effect eDamageEffect2
);
Parameters:
oAttacker
the creature whose attack result we are storing
nResult1
the main attack result (see COMBAT RESULT_*)
eDamageEffect1
the main attack damage effect
nResult2
the offhand attack result (see COMBAT RESULT_*)
eDamageEffect2
the offhand attack damage effect
Returns:

Nothing.

Source:

script.ldf