mongen npc

Join Discord

Draka

Dedicated Member
Dedicated Member
Jan 22, 2008
72
0
53
Well i want to make a specialy npc, the system i wantn is to make a mongen, but the mob move from "A" to "B" points into the map.

And the toher is what can i do for the mobs spwn when a little time after the first spanw is active.

But the code i know is mongenp, if somebody give me a examples, i goto to be happy. and after i put the working npc with multiple optios, its a multiple system i am mading.
 

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
mhh i am willing to help u but it looks like that my english isnt well enough to understand what u rly wanna have :( sry. maybe with other words an explanation ?!?!

to respawn a monster on a special point isnt a problem but what u mean with "move from "A" to "B" ?!?!

and what u mean with

"And the toher is what can i do for the mobs spwn when a little time after the first spanw is active."?!?!

greetz

Ameno
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
#act
delaygoto 60 @2nd_part_of_spawn {delays 60 seconds before going to next
part of script}

#Act
MongenP "D1111,150,150,10" Oma 50 "Noitem"

spawns Oma's - 50 of them - on map D1111 for a 10 space radius in every direction around coordinates x=150 y=150


Hope this helps. :)
 
Upvote 0

Draka

Dedicated Member
Dedicated Member
Jan 22, 2008
72
0
53
ty, for the example of delaygoto, jeje i went to house of one friend and he say me like the function of deleys, ^^, ty for that.

well the other is, the code applymonmission work?, and if you know what is this work.
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
ApplyMonMission "E003, 40, 40, 30, 10" "Monkey" "E003, 16, 18"

not used it myself but i believe this will move 10 monkeys from
map=E003 x=40 y=40 radius around x/y point= 30 in all directions

TO

Map E003 X=16 y=18

So if you mongenp 45 monkeys to E003 40 40 30 you could then get 10 of them to move to the new coordinates.
 
Upvote 0

Draka

Dedicated Member
Dedicated Member
Jan 22, 2008
72
0
53
sorry for the doble post, well, i try applymonmission and work it, but, the delaygoto jeje, well no works like i want for example, i am using only one txt, and put.
[@1]
#if
#act
mongenp x x x cheersmob
delaygoto 60 @2

[@2]
#if
#act
mongenp x x x hellomob
#say
the mobs apears every minute, after 30 minutes, evilmir apears
break

but this method no work.
 
Upvote 0

CrusaderIssy

Dedicated Member
Dedicated Member
Jun 19, 2007
31
0
52
I'm not certain what it is you're after, but if I've understood it properly try something like this:

#ACT
mongenp "Bichon,100,100,3" HelloMob 5
AddPath 150, 100
AddPath 150, 150
AddPath 100, 150
AddPath 100, 100
ApplyPath "Bichon,100,100,3" HelloMob
ClearPath

This should, in theory, spawn 5 HelloMob at X=100 Y=100, make them walk in a 50x50 square returning to the start point at 100,100.

#ACT
mongenp "Bichon,100,100,3" HelloMob 5 < Spawns 5 mobs at 100 100 with a radius of 3 spaces
AddPath 150, 100 < Adds first path, Mobs won't go to next one until they've stood on this co-ordinate
AddPath 150, 150 < Second path
AddPath 100, 150 < Third Path
AddPath 100, 100 < Fourth Path
ApplyPath "Bichon,100,100,3" HelloMob < Command to add the path to the spawned mobs, this has to be exactly the same as the mongenp line.
ClearPath < Clears the paths set above so you can then create new paths for the next mob/spawn. This won't stop the mobs already on a path until they reach their destination.

Hope this helps you out, but let me know if theres something else you need to know about this.
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
sorry for the doble post, well, i try applymonmission and work it, but, the delaygoto jeje, well no works like i want for example, i am using only one txt, and put.
[@1]
#if
#act
mongenp x x x cheersmob
delaygoto 60 @2

[@2]
#if
#act
mongenp x x x hellomob
#say
the mobs apears every minute, after 30 minutes, evilmir apears
break

but this method no work.


You don't need the #IF unless there is going to be an #IF statement.

Put the rest of the script in please.
 
Upvote 0

Draka

Dedicated Member
Dedicated Member
Jan 22, 2008
72
0
53
[@1]
#if
#act
mongenp x x x cheersmob
DELAYGOTO [Local] 900 @2 ---> Part of scrip {900 = 15 minutes}
(Time of delay)
[@2]
#if
#act
mongenp x x x hellomob
#say
the mobs apears every minute, after 30 minutes, evilmir apears
break

-----------------------------------------------
After to many times to probe, i found a the way to work it, well i put
DELAYGOTO [Local] 900, and work it. in two or more days i go to put the finish npc, into the releases.
 
Upvote 0