[Statedef -2][State Max]type=varsettrigger1= ;; 1 if Life or Power. whatever you want otherwise.var(1)=life / power / your own value ;; PICK ONEignorehitpause=1persistent=1[State Subtract] ;; For your own value only. Life and Power manages itself.type=varaddtrigger1=var(1)=-ignorehitpause=1persistent=1[State Below 0 or Above Max]type=varsettrigger1=var(1)<0||var(1)>max's valuevar(1)=0+(var(1)>max's value)*max's valueignorehitpause=1persistent=1Have a helper or an explod+modifyexplod accorded to a float variable to resize itself accordingly. Unless you want color variances and/or flashing / you want to template it, there is absolutely no need to use a helper. Explods are better anyway because of ontop, so even if you use a helper, make it ownpal=1, it's anim blank, and the explods it owns ownpal=0, and color them with PalFX.[State Bar Scale]type=varsettrigger1=1fvar(1)=(var(1)/max's value)ignorehitpause=1persistent=1[State Bar]type=explodtrigger1=!numexplod(1000)anim=id=1000bindtime=-1removetime=-1ontop=1ownpal=1pos=20,220postype=backignorehitpause=1persistent=1[State Bar]type=modifyexplodtrigger1=numexplod(1000)id=1000scale=fvar(1),1 ;; horizontal barscale=1,fvar(1) ;; vertical barPICK ONEignorehitpause=1persistent=1[State Bar Border]type=explodtrigger1=!numexplod(1001)anim=id=1001bindtime=-1removetime=-1ontop=1ownpal=1pos=20,220postype=backscale=1,1ignorehitpause=1persistent=1If your bar is supposed to be bigger or smaller than it actually is in the .SFF, multiply the value of fvar(1) by it's re-scaled value.EG — Say your bar is gradient and ""hi res"" and you want to shrink it's x axis through code to say 0.35, you'd multiply (var(1)/max's value) by 0.35.