president vankk
Web Developer & AuraOT Owner
- Joined
- Jul 10, 2009
- Messages
- 5,719
- Solutions
- 9
- Reaction score
- 339
Hi folks, I got stucked while I was creating a script, and I really don't know how to the fuck I'll do it.
How I create a spawnArea for up 100 monsters and on this area will have different types of monsters for example earth, water and fire. The most important thing is that cannot have fire monsters with earth monsters. Can someone help me with it?
Please check the config that I created below:
Thanks everyone.
How I create a spawnArea for up 100 monsters and on this area will have different types of monsters for example earth, water and fire. The most important thing is that cannot have fire monsters with earth monsters. Can someone help me with it?
Please check the config that I created below:
Code:
local config = {
spawnArea = {
fromPosition = Position(2500, 3142, 7),
toPosition = Position(2684, 3185, 7)
},
monsters = {
[1] = {"Snake", "Medusa"}, -- earth
[2] = {"Quara Predicator", "Water Elemental"}, -- water
[3] = {"Ghazbaran", "Morgaroth"}, -- fire
},
maxMonsters = 100
}
Thanks everyone.
Last edited: