Ruby MonGen with an NPC

smoochy boys on tour

spacemonstar

Yours Truly
Dedicated Member
Aug 12, 2004
210
2
64
England
I realise there are heaps of topics on this, but I think I'm asking a question that (I at least) couldn't find answered.

I'm making a new NPC and was wondering, with Monster Generation:

Code:
Param1 {Map}
Param2 {X}
Param3 {Y}
MONGEN {MonsterName} {Amount} {Range}

Can I add as many MONGEN underneath the first 3 Parameters as many times as I like (for different mobs) to spawn within certain ranges of Param2/3?
Will they always spawn within the confines of the map?

Example:

Code:
Param1 0
Param2 333
Param3 333
MONGEN Hen 50 500
MONGEN Sheep 50 1000
MONGEN Pig 20 2000
MONGEN ForestYeti 20 500
MONGEN ForestYeti 30 2000

The above isn't what I will do, but an example of what I hope to accomplish :)

Also could anyone clarify the MONGENAROUND command for me. Cheers!
 

Ardbeg

Legend
Legendary
Aug 8, 2004
3,211
1
144
260
Southern England
Your multiple mob spawn with the same params is fine. It is in Ruby anyway !
Not sure about a range of 2000 though.

The Mongenaround spawns mob around your position.
I've not used it further than tests so not created a script for it.
not sure if there are ways of causing different mobs and various ranges to the command.
 
Last edited:
  • Like
Reactions: spacemonstar
Upvote 0

spacemonstar

Yours Truly
Dedicated Member
Aug 12, 2004
210
2
64
England
Heh, the range of 2000 was purely example, I would more than likely have a few different sections and spawn mobs within certain ranges around that :)

Great help mate, thanks :) +1
 
Upvote 0