
Board: M.U.G.E.N Development Help
[State 780, Activate]
type = VarSet
trigger1 = animelem = 4
v = 10
value = floor(1280*(life*1.0/lifemax*1.0))
Since there was a same problem while u use 'enemy,life' trigger so u need to convert ;Life' or anything related with 'life' trigger(lifemax/enemy,life/enemy,lifemax) to floating-point data type before u used it. and also if u want to store it in integer variable like var(10) of your so u need to round down it, otherwise u dont have to.