ID:149639
Mar 21 2002, 10:05 am
|
|
When the monsters die how do they spawn in a diffrent area when they die?
|
Mar 21 2002, 10:07 am
|
|
Nadrew's Leveling System
|
In response to Kappa the Imp
|
|
no no no no no! I need the monster to be deleted and then it spawns back into it's origanal place. Or atleast to stop the monster from killing each other
|
Not sure but try this.
mob/proc/DeathCheck() var/O=rand(1,world.maxx) var/M=rand(1,world.maxy) var/T=rand(1,world.maxz) if(src.health<0) new/mob(locate(O,M,T)) del(src) Just test it. |
In response to Super16
|
|
nope
|
In response to Buzzyboy
|
|
My system does that. Except the respawn it respawns them in a random location.
|
In response to Nadrew
|
|
I know but random won't work because if they are in water people won't be able to train on them.
|
In response to Buzzyboy
|
|
You can fix that easily.
|
In response to Buzzyboy
|
|
Then you would have to save their location inside a var, and relocate them to the saved location.
|
In response to Nadrew
|
|
yup
|
In response to Nadrew
|
|
Thats not hard.
|
In response to Kappa the Imp
|
|
fine then how if it's that easy
|
In response to Buzzyboy
|
|
Buzzyboy wrote:
fine then how if it's that easy Its easy,use your coding skills and see what you can do.Its easy(im not saying your a sucky coder). -Kappa the Imp |