[fallout 2] increasing player's hp

killap

Bear Dude
Moderator
Modder
I am trying to write a procedure that will increase the hit points of the player to the maximum 999. The line of code I used is as follows:

Code:
set_critter_stat(dude_obj, STAT_max_hp, 999);

The problem is that this line of code does nothing. I know my script works as everything else is set to what I wanted expect the player's hp. Even if I change the 999 to any other number, still nothing happens. Any ideas? I believe that is the correct syntax for increasing the player's hp, but I might be wrong.

Thanks in advance.
 
Your script is ok its just that set_critter_stat function don't work like it should.
You can boost player hp creating new drug and then using it on player (by script) it will have the same effect.
 
Back
Top