Jump to content

Lua in SpringRTS/Spring.AddUnitDamage

From Wikibooks, open books for an open world
Arguments Return values
number unitID, number damageAmount [, number paralyze = 0 [, attackerID = -1 [, weaponID = -1[, number impulse_x [, number impulse_y [, impulse_z ]]] ]]] nil

Argumens

[edit | edit source]

number unitID, number damageAmount [, number paralyze = 0 [, attackerID = -1 [, weaponID = -1[, number impulse_x [, number impulse_y [, impulse_z ]]] ]]]


Reurning values

[edit | edit source]

nil