Animation-CobHitByWeaponID

From Spring
Revision as of 21:58, 23 August 2009 by Seanheron (talk | contribs) (COB HitByWeaponID moved to Animation:CobHitByWeaponID: convention)
Jump to navigationJump to search

HitByWeaponId(z,x,weapon_id,shot_power)

The z and x angles are not returned unless the impulse of the weapon is high enough to move the unit.

The weapon_id is the "id=xxx" from the weapon information in the weapon tdf.

Always return(100); or the weapon won't deal full damage.