Mobs keep spawning constantly, when I want them to spawn once

Discussion in 'Community Support' started by FinnJp, Dec 30, 2019.

  1. FinnJp

    FinnJp New Member

    Joined:
    Jun 22, 2017
    Messages:
    7
    Likes Received:
    0
    So to explain a bit more, I have a certain mob that spawns these crystals around him that either heal the mob or deal damage to players around the mob.

    My issue here is that once the crystals are spawned, how do I make it that they are only spawned again once those crystals are killed? So, after one of the crystals is killed by the player, after few seconds or so it would appear again? Tbh I'm quite a noob still when it comes to mythic mobs and I'm surprised how I've managed so far with xD.

    All methods I've tried to do this hasn't lead me anywhere, so I've decided to seek help from you guys :D.

    PS: Not sure if there is a post about this already, tried to look it up but couldn't find anything like that.

    Thanks to your time whoever decides to read this :D
     
    #1
  2. Wahrheit

    Wahrheit Community Manager
    Community Manager Premium Supporter Supporter Moderator Quality Assurance

    Joined:
    Sep 4, 2016
    Messages:
    144
    Likes Received:
    8
  3. 817

    817 Member
    Premium Supporter Supporter

    Joined:
    Sep 10, 2016
    Messages:
    47
    Likes Received:
    24
    @FinnJp ,
    If your crystals are a mob, then this should solve your problem. Just add the skill below, to your crystal mob file (under its skills) like so...

    Code:
    Skills:
    - summon{type=NameofYourCrystalMobHere;amount=1;radius=0;delay=40} @self ~onDeath
    You will need to remove the NameofYourCrystalMobHere and type in YOUR crystal mob name there instead. I set the delay for 40, which is 2 seconds (20 ticks= 1 second), but it can be changed to whatever fits your need.

    Hope this helps!
     
    #3
    Last edited: Dec 31, 2019

Share This Page