ID:177703
Aug 8 2002, 7:17 am
|
|
how would you make it so if someone gets killed by a projectile, the person who shot it gets 1 kill and a message to the world saying they killed whoever they killed?
|
In response to Malver
|
|
but i also want it to display the name of the killer and have them put 1 kill on their kill var
|
In response to Tazor07
|
|
Tazor07 wrote:
but i also want it to display the name of the killer and have them put 1 kill on their kill var Then we'll need to remember who shot the projectile. obj/Weapon/var/mob/owner // Set this to the person who shot the projectile in your firing proc |
In response to Malver
|
|
How would you set it up?
|
In response to Tazor07
|
|
Tazor07 wrote:
How would you set it up? Set what up? |
In response to Malver
|
|
the owner var so it keeps the key of the guy or whatever
|
In response to Tazor07
|
|
Tazor07 wrote:
the owner var so it keeps the key of the guy or whatever In your firing proc...
O.owner = src // Assuming src is the firer, and O is the projectile :P
|
Well, this depends on if your projectiles are dense. If they are...
Hope that helps.