area
deleter
Entered(mob/M)
del M
maker
New()
spawn for()
sleep(20)
new/mob/enemy in (src.loc)
Problem description:
I am trying to make it so enemies spawn in this area (maker) deleter works fine. nothing really happens in the maker area
ID:142944
![]() Jan 27 2008, 2:41 pm
|
|
Code:
area Problem description: I am trying to make it so enemies spawn in this area (maker) deleter works fine. nothing really happens in the maker area |
![]() Jan 27 2008, 2:47 pm
|
|
wouldnt the 'deleter' delete you,such as a boot does?
|
Well, assuming that you've got monsters as a separate path type from the other mobs, use typesof() to check is M is a monster.
|
You're not creating the enemy correctly. It should be like this:
new mob/enemy(src)
But that might not be right either: that will create the enemy in the lowest-left available turf of the area. |
THANK YOU GARTHOR it works in one swuare but when i put more then 1 of the "areas" down they dont work only the first one :P figures. any1 know how i could get all of them to work?? and the exact code for the /mob/enemy only deleter.
|
mabey u could put the code in because idk what u meen im still kinda noob but i have gotten as far as a points system a shooting fire command (a little shoot the monster, only move forward arcade game)
|
Best solution would be to make it an obj, instead of an area. Then, you'd have to change the creation to new(src.loc) instead of new(src).
|