Egg entity Spawn Trails

Discussion in 'Skript' started by HelloWorld346453, Jul 26, 2020.

  1. How can you make a egg that constantly spawns entitys until it landed?
     
  2. Code (Text):
    on shoot:
      if projectile = egg:
        while projectile exists:
          spawn chicken at location of event-projectile
          wait 1 tick
    Try this
    Replace "chicken" with the entity you want
     
  3. That is likely to crash your game, 20 chickens per second.
    change 1 tick to something like 10 ticks
     
  4. could you specify the code a bit im a bit new with java(like where the projectile come from and stuff)
     
  5. And could you write the whole code thing pls
     
  6. I guess you're in the wrong forum, this is Skript, not Java.
     
  7. oh...
     
  8. wheres the right forum?
     
  9. it's Spigot Plugin Development

    Skript is a subforum within it, just don't press on Skript and you'll get there