[Help] A piece of code ^^

08/09/2009 07:57 ZkiNeF#1
I need the code, rather, the line to make a monster does appear after speaking with an NPC.

I have this:

Code:
SingleMob FG = new SingleMob((short)MyChar.LocX, (short)MyChar.LocY, (short)MyChar.LocMap, 65535, 65535, 2500, 3000, 1007, "FaisanGigante", 104, 115, 0, 0, 0, true);
                                    Mobs.AllMobs.Add(FG.UID, FG);
                                    World.SurroundMobs(MyChar, false);
But this creates a Spawn and the monster is created to die again and I need only appear once.

I hope someone can help me with this :)
08/09/2009 17:17 raidenx123#2
At end you need to put
Code:
Revive = false;
08/10/2009 01:37 ZkiNeF#3
I haven't define Revive variable
08/10/2009 01:44 raidenx123#4
Hmm then makeone/find a new one
08/10/2009 01:45 justprownage#5
Well what I did was use MType 2 for spawning the mob and made a command to disable respawning for MType 2.
08/10/2009 05:04 ZkiNeF#6
Well, i try to do this... mtype 2 and command to disable respawning... I go to reseach about this because i not know how do it xD

Thxk a lot.