mob npc help

smoochy boys on tour

Cba2KillU

LOMCN Veteran
Veteran
Apr 7, 2010
692
1
105
i ive made a npc tht spawns 5 mobs etc (s) (m) (l) (xl).
afta the xl 1 i need it to teleport me out t map 0125 ( bw store)

ive tryd few ways just cnt get it t wrk


/Thnx
 

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,201
61
155
uk
In qfuntion i spose..

[@OnKillMob(WoomaTaurus(XL))]
#IF
#ACT
MAPMOVE 0125 5 5
 
Upvote 0

Cba2KillU

LOMCN Veteran
Veteran
Apr 7, 2010
692
1
105
Sorry for double post.

This is what i got atm.

[@main]
#SAY
Hello <$USERNAME> i guess you have\
spoken to my brother. time to take\
the challenge test. i will have you\
kill 4 boss mobs in a row.\


<Sounds easy/@Next>\
<No Thnx/@No>\

[@Next]
#IF
#ACT
PARAM1 Chal
PARAM2 9
PARAM3 10
MONGEN OmaWarrior 1 1
#ELSEACT
Goto @Check2

[@Check2]
#IF
CHECKMONMAP chal 1
#ACT
PARAM1 Chal
PARAM2 9
PARAM3 10
MONGEN OmaWarrior 1 1
#ELSEACT
Goto @Check3

[@Check3]
#if
CHECKMONMAP chal 1
#ACT
PARAM1 Chal
PARAM2 9
PARAM3 10
MONGEN OmaWarrior 1 1
#ELSEACT
Goto @Check4

[@Check4]
#if
CHECKMONMAP chal 1
#ACT
PARAM1 Chal
PARAM2 9
PARAM3 10
MONGEN OmaWarrior 1 1
@goto @thnx


<thnx/@thnx>


[@thnx]
#ACT
mapmove 0125
break

Any ideas? Thanks.
 
Upvote 0

^G0trex

Golden Oldie
Golden Oldie
Nov 7, 2003
1,946
28
155
Bham
Well that currently makes no sense... your first IF is blank therefore it won't even read the rest of the script other than what you've got in [@Next]..

Plus each time your spawning the same mob, OmaWarrior - which means it won't increase in strength which is I assume what you're wanting.

Use QFunction has Gezza said.

[@OnKillMob(WoomaTaurus(XL))]
#IF
#ACT
MAPMOVE 0125 5 5

Just make sure you use a unique mob that only ever spawns when doing this quest, otherwise it will act whenever you kill a regular OmaWarrior (or whatever mob).

Are you wanting the player to kill the mobs 1 at a time? And the next spawn after the previous has been killed? Or all at once?
 
Upvote 0

Cba2KillU

LOMCN Veteran
Veteran
Apr 7, 2010
692
1
105
Well that currently makes no sense... your first IF is blank therefore it won't even read the rest of the script other than what you've got in [@Next]..

Plus each time your spawning the same mob, OmaWarrior - which means it won't increase in strength which is I assume what you're wanting.

Use QFunction has Gezza said.

[@OnKillMob(WoomaTaurus(XL))]
#IF
#ACT
MAPMOVE 0125 5 5

Just make sure you use a unique mob that only ever spawns when doing this quest, otherwise it will act whenever you kill a regular OmaWarrior (or whatever mob).

Are you wanting the player to kill the mobs 1 at a time? And the next spawn after the previous has been killed? Or all at once?


etc challengeboss(S)
kill tht n challengeboss(m) spawns allway t (xl)
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
How do you add time? So like it teleports you out like 1 min later u killed the boss? This is all i got and doesnt work.

[@OnKillMob(??????????)]
#IF
MIN 0 1
#ACT
Mapmove 4 228 207
 
Upvote 0

^G0trex

Golden Oldie
Golden Oldie
Nov 7, 2003
1,946
28
155
Bham
etc challengeboss(S)
kill tht n challengeboss(m) spawns allway t (xl)

Then use Qfunction for the lot.

Code:
[@OnKillMob(ChallengeBoss(S))]
#ACT
PARAM1 Chal
PARAM2 9
PARAM3 10
MONGEN ChallengeBoss(M) 1 1
break

[@OnKillMob(ChallengeBoss(M))]
#ACT
PARAM1 Chal
PARAM2 9
PARAM3 10
MONGEN ChallengeBoss(L) 1 1
break

etc...

And then for the final one:

Code:
[@OnKillMob(ChallengeBoss(XL))]
#ACT
MAPMOVE 0125 x y
break

x y = the coords you want.

How do you add time? So like it teleports you out like 1 min later u killed the boss? This is all i got and doesnt work.

[@OnKillMob(??????????)]
#IF
MIN 0 1
#ACT
Mapmove 4 228 207

I don't know about that, sorry.
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
It says in TD Files Commands that "Checks if the minutes right now are higher or equal to 0 and lower then 1" But after 1-2 mins past i'm still there. Any ideas anyone?:sad:
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Yes i wait like 5 mins and n othing happens any ways i cba with that way now. I've done a different way. But it seems to not recall Group out.
Unless if i need fully reboot? etc all gates down/up

Script: (QFunction)

[@OnKillMob(ShadowMaster)]
#ACT
Give ?????? Token
GROUPMOVEMAP 4 219 198

Doesnt recall out as i said i may need a fully reboot. i only put M2Server down. Any ideas?
 
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
370
350
[@OnKillMob(ShadowMaster)]
#ACT
Give ?????? Token
GROUPMOVEMAP 4 219 198

whats all the ???????

should be
Give Token 1
 
Upvote 0

^G0trex

Golden Oldie
Golden Oldie
Nov 7, 2003
1,946
28
155
Bham
Yes i wait like 5 mins and n othing happens any ways i cba with that way now. I've done a different way. But it seems to not recall Group out.
Unless if i need fully reboot? etc all gates down/up

Script: (QFunction)

[@OnKillMob(ShadowMaster)]
#ACT
Give ?????? Token
GROUPMOVEMAP 4 219 198

Doesnt recall out as i said i may need a fully reboot. i only put M2Server down. Any ideas?

I have a feeling that will only work if the group leader gets the kill?
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Nah works 100% now thanks to Sexy ICEMAN:P Thanks man :thumbup2:

Teleports full group out & gives them the token ;)

Thanks again IceMan your a star!
 
Upvote 0