Nemesis with more from 100000000000 Health
Hi, I use ZPA 1.6.1 and i want the nemesis to have more HP from 100000000000 i wrote 100000000000 in the cfg file but when i became a nemesis i got auto-slay :X
|
Re: Nemesis with more from 100000000000 Health
2,147,483,647 is the max value that a 32 bit integer can hold. if you want more health than that you have to add some health back when some damage is taken until desired amount is given
|
Re: Nemesis with more from 100000000000 Health
Health is actually a float in game code.
When setting health through set_user_health(), you're limited to an int32, but if you do it through set_pev() or entity_set_float(), I am sure it would work, as they accept a float value, which has much greater bounds. |
Re: Nemesis with more from 100000000000 Health
Quote:
|
Re: Nemesis with more from 100000000000 Health
Quote:
|
Re: Nemesis with more from 100000000000 Health
Before users from this forum are helped me from private things and if i upload the code they will be angry. Here is the default ZPA code [ http://pastebin.com/R1s6izjx ] when you click on this link you will see the ZPA default code and you will see it and after this you will tell me what parts in my ZPA code i have to change
PS: Sorry for my bad English :x |
| All times are GMT -4. The time now is 18:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.