heres some code for my game
mob
player
icon = 'player.dmi'
density = 0
verb
run()
client.North()
walk(usr,NORTH,0)
client.South()
walk(usr,SOUTH,0)
client.West()
walk(usr,WEST,0)
client.East()
walk(usr,EAST,0)
client.Northwest()
walk(usr,NORTHWEST,0)
client.Northeast()
walk(usr,NORTHEAST,0)
client.Southeast()
walk(usr,SOUTHEAST,0)
client.Southwest()
walk(usr,SOUTHWEST,0)
but for some reason i get this error message
Main code.dm:11:error: proc definition not allowed inside another proc
Can anyone tell me what ive done wrong?
ID:149979
Jan 12 2002, 6:54 pm
|
|
In response to FIREking
|
|
you cannot define predefined procs inside of procs You cannot define ANY procs inside of procs. =P |
you cannot define predefined procs inside of procs