ID:176866
 
ok, i made an enemy(NPC) i want to use on my map...but i don't know how to code it right so that he actually appears on the map. can anyone help me out? just for reference, the NPC is in the icon file named Killer.dmi and is named Killer. thanks.
EnjoiStaticX wrote:
ok, i made an enemy(NPC) i want to use on my map...but i don't know how to code it right so that he actually appears on the map. can anyone help me out? just for reference, the NPC is in the icon file named Killer.dmi and is named Killer. thanks.

The name and the icon file are irrelevant to how to place the NPC on the map. More important is knowing the type path, like /mob/Killer or whatnot.

I'm not sure yet whether you're asking how to get it on the map at all (to which the answer is: use the map editor) or how to place it on the map at runtime in response to some event.

Lummox JR
In response to Lummox JR
duh....the map editor. lol....thanks, that cleared it up for me.
In response to EnjoiStaticX
i went into the map editor....and i can only put grass and stuff like that on my map. how do i get the NPC on the map?
In response to EnjoiStaticX
He would be under the type mob. You have to click on the little + sign.
In response to Garthor
Garthor wrote:
He would be under the type mob. You have to click on the little + sign.

Whoa. Good catch there. I wouldn't have even thought about that.

Lummox JR
In response to Lummox JR
hmmm...it didn't appear on the map until i did something with the code. odd. well, i finally got it....thanks for the help.