Problem with mobs spawning from NPC...

Mu online season 21 - grand opening

moody

Banned
Banned
Dedicated Member
Aug 7, 2006
112
0
42
hi all ive been working on a certain script but insdead of the mobs spawning in the next room there spawning in the same room and moving me to next 1 where i find is empty can any 1 help me here is an example its a lik from an npc for 5 rooms....

Diagram 1


[@main]
#IF
#SAY
Welcome to the Boss NPC.\
I will teleport you to the next map for a fee\\
<View Options/@options>\

[@options]
#SAY
I can do the following for a BossPass1\\
Prepare yourself to be Teleported to the next room\\
<Teleport me to the next room plz/@Nextroom>\
<It didnt drop this time :(/@Nodrop>\

[@Nextroom]
#IF
CHECKITEM BossPass1 1
#ACT
TAKE BossPass1
MAPMOVE Boss2
param1 Boss2
param2 50
param3 50
MONGEN JinchonCaptain1 1 0
MONGEN StoneGriffin1 20
break
#ELSESAY

[@Nodrop]
#ACT
MAPMOVE 0 163 230
 

Floyd

Golden Oldie
Golden Oldie
Aug 2, 2004
1,320
0
123
Why do you have #ELSESAY at the end with no text?

I don't know the answer to why they're not spawning but you could try....

Code:
[@Nextroom]
#IF
CHECKITEM BossPass1 1
#ACT
TAKE BossPass1
MAPMOVE Boss2
MONGENEX Boss2 50 50 JinchonCaptain1 0 1
MONGENEX Boss2 50 50 StoneGriffin1 0 20
break
#ELSESAY
Blah blah you don't have the BossPass1 item thingy
<Close/@exit>

But I don't know if mongenex is a mir3 command :P


edit: Think I just realised why...

Change:

MONGEN JinchonCaptain1 1 0
MONGEN StoneGriffin1 20

to

MONGEN JinchonCaptain1 1
MONGEN StoneGriffin1 0 20


cos if I remember correctly the first number is level and the second is amount.

edit2: bleh no my mistake, first number is range not level.

So try:


MONGEN JinchonCaptain1 1 1
MONGEN StoneGriffin1 5 20

Alternatively it could be because your mobs are set to spawn on the first map in your actual MONGEN.
 
Last edited:
Upvote 0

moody

Banned
Banned
Dedicated Member
Aug 7, 2006
112
0
42
nope.......

the problem is there spawning in the room i just left instead of the room ive just been recalled to...

But they are spawning...
 
Upvote 0

Floyd

Golden Oldie
Golden Oldie
Aug 2, 2004
1,320
0
123
oh sorry obviously didnt read ur post correctly


Floyd said:
Alternatively it could be because your mobs are set to spawn on the first map ("room before the one you want them in" in your actual MONGEN.

just edited my post again...
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
215
UK
mongenp "D1901,150,150,140" mobname 1

or

MONGEN "EvilDragon9" 2 8 {2=number mobs, 8=radius of spawn}

try those :)
 
Upvote 0

Floyd

Golden Oldie
Golden Oldie
Aug 2, 2004
1,320
0
123
I thought quotations weren't necessary, which is why I didn't mention it =/

hmm
 
Upvote 0