winset(usr,"default.bar3","value")
I Figured Something. Any Idea?
ID:273292
Jan 17 2010, 5:05 pm
|
|
Well ima Doing a bar for Powerlevel but how do i make Increase or Decrease it?
winset(usr,"default.bar3","value") I Figured Something. Any Idea? |
In response to Ssj4justdale
|
|
Nope, That dont Work, its something like this:
Gohan Games Attacks SSj4Justdale for 56 Damage. your Lose 56 Damage form your Bar. |
In response to Gohan Games
|
|
What he told you does work. And your example makes no real sense.
Get the percentage of whatever value you want, by dividing the current value by the maximum value (and multiplying by 100), then use winset() to set the value of the bar element to that. |
Ok, if you didn't know, the number works in percentage. Use a code to get the percentage of the powerlevel and/or ki, then have it set the value, which is the percentage, to it. I'm a bit to lazy as of right now to do anything but I'd still help. I'm just tired.