Documentation Confirmation
Posted: 07 Sep 2016, 13:19
Hi, codeman and me stumbled upon the LUA-Callins page, in particular
https://springrts.com/wiki/Lua:Callins#UnitDamaged
I tryied to decude the validness of those arguments from the source:
https://github.com/spring/spring/blob/a ... ler.h#L465
ph'nglui mglw'nafh Devs R'lyeh wgah'nagl fhtagn. Can you confirm this has changed?
https://springrts.com/wiki/Lua:Callins#UnitDamaged
Code: Select all
addon.UnitDamaged(unitID, unitDefID, unitTeam, damage, paralyzer, weaponDefID, projectileID, attackerID, attackerDefID, attackerTeam)
https://github.com/spring/spring/blob/a ... ler.h#L465
Code: Select all
ITERATE_UNIT_ALLYTEAM_EVENTCLIENTLIST(UnitDamaged, unit, attacker, damage, weaponDefID, projectileID, paralyzer)