Mythicmobs spawning

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Gecky

Member
May 22, 2019
15
0
0
Not sure if this belongs here but I really need some help figuring this out, I'm using randomspawners from mythicmobs to randomly spawn mobs and Im using skript to manage the spawn rates. I would like only 10 mobs within a 100 radius of when a mob spawns. This is what I used to attempt that, but it didnt work. Any ideas?

Skript:
Code:
on mythicmobs skriptconditionevent:
    if condition-name is "spawn":
        if amount of all entities in radius 100 of condition-entity > 10:
            set condition meet to true
            broadcast "debug1"
        else:
            set condition meet to false
            broadcast "debug2"

Mythicmobs:
Code:
Zombie:
  Type: Zombie
  Worlds: world
  Chance: 0.050
  Priority: 10
  Action: add
  UseWorldScaling: false
  Reason: NATURAL
  Biomes: Plains
  PointType: LAND
  Conditions:
  - skriptspawncondition{c=spawn}
 
Status
Not open for further replies.