1. 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 comminuty!

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

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is There to spawn an entity at a location

Discussion in 'Skript' started by MrEnxo, Feb 18, 2020.

Thread Status:
Not open for further replies.
  1. MrEnxo

    MrEnxo Member

    Joined:
    Feb 12, 2020
    Messages:
    11
    Likes Received:
    0
    Im trying to make like a custom rpg type thing and im trying to make a custom mob with custom names and drops, health, strength and extra but i need my mob to spawn in World Skyblock at a certain location and/or block. I already now how to spawn the mob but i dont now how to spawn it at this place
     
  2. Goose

    Supporter

    Joined:
    Nov 23, 2019
    Messages:
    429
    Likes Received:
    30
    hard coded location:
    Code (Text):
    1. spawn zombie at {_loc}
    2. spawn zombie at location at x, y, z
    not hard coded:
    Code (Text):
    1. on spawn of zombie:
    2.     set {_pos} to last spawned zombie's location
    3.     kill zombie
    4.     spawn zombie at {_pos}
     
Thread Status:
Not open for further replies.

Share This Page

Loading...