Paulus141 1 Posted February 11, 2020 Hello, I need some advice on how to set up players hitPoints at the beginning of game. I know that there is a possibility to set different hitpoints to NPC, via "SET HIT POINTS ENTITY" . But this only works on NPC humans and animals. Share this post Link to post Share on other sites
TomasGestinger 41 Posted February 12, 2020 Hey, try setting this basic script on the Spawn logic and let me know if it's enough for what you need.? 1 Share this post Link to post Share on other sites
Indomitus 388 Posted February 12, 2020 3 hours ago, TomasGestinger said: Hey, try setting this basic script on the Spawn logic and let me know if it's enough for what you need.? I think that would set them to half of their hearts, and the HP would regenerate over time, back up to 100. I don't have access to my game right now, but isn't there a SET MAX tile for hit points? Share this post Link to post Share on other sites
TomasGestinger 41 Posted February 12, 2020 Yup, I wanted to give @Paulus141 something very basic he already knew to start with. Set Max is better for managing NPCs as well but it depends on what you need in your scenario. Share this post Link to post Share on other sites
Paulus141 1 Posted February 12, 2020 Yes, that is what I wanted to set. I did not use "ON PLAYER SPAWN", but "ON GAME START" and didnt move the "player" variable to SET HP Entity .... novice... Děkuji za ponaučení. ? 1 Share this post Link to post Share on other sites