ID:149783
 
how can i create mobs once the game is in place? I am going to make a cycle. and i want it to make new mobs where i tell it.
mob
proc
Create_Mob()
new /mob(locate(1,1,1))

This will create a new mob at 1,1,1. That's all I can tell you until you elaborate on what you want.
Do you want to know how to place a mob on your game?

well put this in

mob
icon = 'In this put what your mobs name is.dmi'
var
HP = 30 (you can put any hp.)
str = 5
def = 3
agi = 4
In response to English
Thanks. I guess i didn't explain enough on what i wanted to do. I just needed like this.

if(victim.HP<=0)
usr.attack=1
usr.EXP += victim.EXPgive
world << "[usr] killed [victim]"
victim.HP=MAXHP
victim.MP=MAXMP
victim.fly()
victim.Move(locate(1,1,2))
victim.land()
usr.money+=victim.money
victim.money=0
if(victim.key==null)
var/l1=victim.x
var/l2=victim.y
var/l3=victim.z
new /mob/Rat(locate(l1,l2,l3))
return 0


But i got it. Thanks.