[Help] NPC that spawns a monster.

07/11/2011 20:19 Sythen#1
I'm trying to code an NPC that will spawn a monster right next to it.

Example:

Code:
if(Control == 0)
{
GC.AddSend(Packets.NPCSay("Would you like me to spawn a Birdman?"));
GC.AddSend(Packets.NPCLink("Yes!", 1));
GC.AddSend(Packets.NPCLink("No.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());

if(Control == 1)
{
// Code here to spawn a birdman
}
07/11/2011 20:31 Spirited#2
Just copy and paste your spawn code and fill it in with the birdman's data.
07/11/2011 20:33 pro4never#3
You'll need to provide much more information about the source your using.

It's a simple matter to spawn a new mob yet it seems to be something very difficult for new members to figure out.... provide some info on the source you're using and I'm sure some people will be willing to provide some pointers.

Alternatively you could try searching for similar codes. I know I posted one year+ ago for coemu and I know it exists for lotf (5017 and 5165)
07/11/2011 20:36 Sythen#4
Im using NewestCOServer 5165
07/11/2011 20:39 pro4never#5
Quote:
Originally Posted by Sythen View Post
Im using NewestCOServer 5165
This has been posted many times then.

Search for something else that uses it such as demonboxes or w/e. TONS have posted examples.