Hello guys,
I'm trying to make a script that add creatures in a certain area if the numbers of monsters of area is lower than X, using this function:
But i want something more, when the script will gonna add the X creature, i want that before add the script see the best place to do this.
example: if on the 7 sqm arround of a existent creature don't have another creature the script will add the new monster exactly in that place..
I'm using a dungeon system that player have a time and more exp to hunt, i need this script to make the hunt better
:]
Thanks adv
I'm trying to make a script that add creatures in a certain area if the numbers of monsters of area is lower than X, using this function:
Code:
getMonstersfromArea(frompos, topos)
But i want something more, when the script will gonna add the X creature, i want that before add the script see the best place to do this.
example: if on the 7 sqm arround of a existent creature don't have another creature the script will add the new monster exactly in that place..
I'm using a dungeon system that player have a time and more exp to hunt, i need this script to make the hunt better
:]
Thanks adv