Page 1 of 1

enemy hits

PostPosted: Sun Jul 26, 2009 11:41 pm
by killwithpower
nooby mc-noob here,

didn't want to sift through 1500+ topics to find this in here. I was just wondering how to make enemies take specific #s of hits from gunfire.

Re: enemy hits

PostPosted: Mon Jul 27, 2009 12:33 am
by skydereign
If you know what you are looking for, than searching the forums is pretty easy, as there are many repeat topics already. Anyway, what you want is essentially HP. This is achieved through variables. Look at this, if it doesn't help, I can give a better example.
http://game-editor.com/wiki/HP

Re: enemy hits

PostPosted: Mon Jul 27, 2009 12:58 am
by sirmashni1
look my little exemple! :D

Re: enemy hits

PostPosted: Mon Jul 27, 2009 1:09 am
by killwithpower
thanks, got it working ... I really don't know so much about code. I am just learning it as I go right now.