here are the vars:
mob
var
Kills = 0
hp = 25
maxhp = 25
Deaths = 0
and any other things might help me in the game plz post!
if you want to help, post it!
ID:168601
![]() Sep 21 2005, 1:27 pm
|
|
can anyone plz make a death proc for me that makes it so that when you kill somone in my halo chao game, you gain 1 kill and the person you killed gained 1 death?
here are the vars: mob and any other things might help me in the game plz post! if you want to help, post it! |
Then why don't you show us the code that you tried to edit yourself? Then we can help you fix it up.
|
Ok here it is.
mob When someone dies run this
Death(usr,src)//replace usr with the person who was the killer and replace the src with the person who got killed
I hope this helps you. |
Get rid of the victim var, you don't need it, you can just do src.Death(). That would make the victim src inside of the proc. So if(src.health>=0) would mean the victim.
|
no, the proc that you gave me doesn't work, it made the person who was killed and the person who killed the other person each gain 1 kill and 1 death and they were send to start, both of them.
Here's the proc that i made from editing: mob here's the original proc: mob |
.Learn to make procs/ manipulate vars
. Check out a tutorial/demo/system on the hub
Most battle systems include death procs. They are also very simple to make if you do the first option that way you have to ask for less help..