Dialog - Set Unit Status Bar Health[(Owner of (Triggering unit))] size to ((Integer(((((Triggering unit) Life (Current)) / ((Triggering unit) Maximum Life (Current))) * 190.0))), 30) for (Player group((Owner of (Triggering unit))))
First Convert real to integer
with the new converted integer, choose 'Arithmetic (real)'
In the first value, choose 'Arithmetic (real)' Again.
Now, in that second Arithmetic (real), Choose the first value and set it to Unit X's current life
Set the operator to '/' and set the second value to Unit X's current maximum life
Now, go back to the First arithmetic we created, set the operator to '*' and the second value to [the width of your dialog]
It will now look something like ''Arithmetic (Real), *, [YourWidth]
Yup, in the example Nerfpl sent me, it's not using damage taken, so it's ok :p Thanks for your (no) motivation though...
It doesnt have anything to do with "no motivation". It just seems like you are lacking basic understanding of the trigger editor, thats why you should propably start with smth more simple.
You wont always find somebody who does the work for you.
@Nerfpl: Go
Yo, thanks! I've looked into it, and going to study it :) Really appreciate your effort!
@VoidPotato: Go
Thanks! Yeah, now it's much more clearer :)
@Mille25: Go
Yup, in the example Nerfpl sent me, it's not using damage taken, so it's ok :p Thanks for your (no) motivation though...
Hey What's up.
This is what my trigger looks like (in text)
Dialog - Set Unit Status Bar Health[(Owner of (Triggering unit))] size to ((Integer(((((Triggering unit) Life (Current)) / ((Triggering unit) Maximum Life (Current))) * 190.0))), 30) for (Player group((Owner of (Triggering unit))))
It will now look something like ''Arithmetic (Real), *, [YourWidth]
It doesnt have anything to do with "no motivation". It just seems like you are lacking basic understanding of the trigger editor, thats why you should propably start with smth more simple.
You wont always find somebody who does the work for you.