Jump to content

food and water in a script


Rattlerx5150

Recommended Posts

I am looking to improve the medical device in my mod to have an option to satisfy the food and water needs for a hardcore character, similar to the way it will heal you,, and remove your rads

 

I just need to know the geck script commands for food and water. I have everything else.

Link to comment
Share on other sites

  • 1 month later...

In the Geck, if you go up to 'Character', then 'Actor Values', they are all listed there. If you want to 'heal' hunger, thirst, or sleep, you use the RestoreActorValue function.

 

example:

 

Player.RestoreActorValue Hunger 50
Player.RestoreActorValue Dehydration 100
Player.RestoreActorValue SleepDeprevation 250

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...