Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Dawn of Time
➜ Administration
➜ Code
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Xavaier
USA (26 posts) Bio
|
| Date
| Mon 27 May 2002 12:20 AM (UTC) Amended on Mon 27 May 2002 12:21 AM (UTC) by Xavaier
|
| Message
| I am looking to find a snippet or just general reference as to how to create a meter for players so that when they're fighting a mob they will see the mobs hp above their own as so (but with color): (example)
Snake [{R|||||{B|||||{M|||||]{R <100%>{=?
Me [{R|||||{B|||||{M|||||] {C<100%>{=?
How could this be done or could it be done? Thanks guys!
Xavaier | | Top |
|
| Posted by
| Mercane
(3 posts) Bio
|
| Date
| Reply #1 on Wed 18 Dec 2002 03:30 AM (UTC) |
| Message
| Its not that hard to do
i had this system before
first you need to get the mobs max hp and its current hp
and store the division of these two variables in a percentage
ie current/max hp
then i just did a bunch of if statements reflecting the various levels
ie at 100%
==========
at 80%
========**
then just drop this section of code in the appropriate section i incorprated it in the prompt section. | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
13,389 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top