//when player dies, fires only in war3 mode
forward OnWar3EventDeath(victim,attacker);
//New forward that replaces OnWar3EventDeath to add showing the deathrace
forward OnW3EventDeath(victim,attacker,deathrace);
//very generic damage event
forward OnWar3EventPostHurt(victim,attacker,dmgamount);
//Adds War3 damage bool, preventing the need for constant W3IsDamageWarcraft() lookups
forward OnW3EventPostHurt(victim,attacker,dmgamount,bool:isWarcraft);
forwards should be backwards compatible. i don't want two of these to exist, so just change the interface and the existing forwards to:
forward OnWar3EventDeath(victim,attacker,deathrace);
forward OnWar3EventPostHurt(victim,attacker,dmgamount,bool:isWarcraft);
and if old races fail with the new forwards, i will force an interface change, thats more consistent than having two redundant forwards






Logged
DarkEnergy

