Austin POL Developer
Joined: 30 Jan 2006 Posts: 354 Location: San Diego, California
|
Posted: Wed May 31, 2006 10:55 am Post subject: |
|
|
Already exists.
1. Look at your vitals.cfg
-This will tell you where your vital hook is and what function it uses.
2. Look at the function that returns something for the hit point vital.
This is what sets the hitpoints.
It probably points to the strength attribute?
You can change it to look for something else, a cprop maybe for an npc?
Use RecalcVitals() im uo.em to update the vitals and their regen rates.
It causes the hook to be re-run on the mobile. |
|