Animation-CobHitByWeaponID: Difference between revisions

From Spring
Jump to navigationJump to search
No edit summary
Flozi (talk | contribs)
m 1cat
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:


Always return(100); or the weapon won't deal full damage.
Always return(100); or the weapon won't deal full damage.
[[Category:Animation]]

Latest revision as of 11:50, 21 March 2013

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.