Difference between revisions of "SetAttackResult"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (link constant page, remove tag) |
m (Updating links) |
||
Line 7: | Line 7: | ||
|param2type=int | |param2type=int | ||
|param2name=nResult1 | |param2name=nResult1 | ||
− | |param2desc=the main attack result (see [[COMBAT | + | |param2desc=the main attack result (see [[COMBAT RESULT_*]]) |
|param3type=effect | |param3type=effect | ||
|param3name=eDamageEffect1 | |param3name=eDamageEffect1 | ||
Line 13: | Line 13: | ||
|param4type=int | |param4type=int | ||
|param4name=nResult2 | |param4name=nResult2 | ||
− | |param4desc=the offhand attack result (see [[COMBAT | + | |param4desc=the offhand attack result (see [[COMBAT RESULT_*]]) |
|param5type=effect | |param5type=effect | ||
|param5name=eDamageEffect2 | |param5name=eDamageEffect2 |
Latest revision as of 12:54, 3 August 2011
This function sets the results of an attack
void SetAttackResult(
object oAttacker,
int nResult1,
effect eDamageEffect1,
int nResult2,
effect eDamageEffect2
);
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