sietse11 Posted January 29, 2014 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 127 Reputation: 7 Joined: 02/10/13 Last Seen: February 1, 2019 Share Posted January 29, 2014 (edited) hey folks, I am trying to make an npc take off 20k hp. heres what I tried. sethp, hp-20000; --------------------------- hp hp,-20000; --------------------------- Hp Hp,-20000; --------------------------- gethp hp,-20000; what would be the right command for this xD hmmm, overlooked heal. gonne try heal -20000,0 Edited January 29, 2014 by sietse11 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 29, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 29, 2014 set hp, hp -20000;if the player has less than 20k hp, the hp is set to 1 heal -20000,0;if the player has less than 20k hp, the player is dead Quote Link to comment Share on other sites More sharing options...
sietse11 Posted January 29, 2014 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 127 Reputation: 7 Joined: 02/10/13 Last Seen: February 1, 2019 Author Share Posted January 29, 2014 Ah okay, I didnt use set hp Cause I thought that would have a different effect xD Anyways, heal works perfectly cause killing players is an intended side effect Quote Link to comment Share on other sites More sharing options...
Question
sietse11
hey folks,
I am trying to make an npc take off 20k hp.
heres what I tried.
what would be the right command for this xD
hmmm, overlooked heal.
gonne try heal -20000,0
Edited by sietse11Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.