Jump to content

Lua in SpringRTS/Callins/UnitDamaged()

From Wikibooks, open books for an open world

UnitDamaged()

[edit | edit source]

Description

[edit | edit source]


Return values

[edit | edit source]

unitID, unitDefID, unitTeam, damage, paralyzer, weaponID, attackerID, attackerDefID, attackerTeam

Usage example

[edit | edit source]


[edit | edit source]