Is There to spawn an entity at a location

  • 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!

  • 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.

CUrrUpt Enxo

Member
Jul 26, 2019
21
0
1
26
im trying to make entities with custom health and custom name and i want it to spawn at a location maybe u can spawn it at a block i need some help with this
 
you can hard code the spawn location without variables:
Code:
spawn zombie at location at [x coord], [y coord], [z coord]
and with
Code:
spawn zombie at {_loc}

if you want it randomly generated, you can do this:
Code:
on spawn of zombie:
    set {_pos} to last spawned zombie's position
    kill zombie
    summon zombie at {_pos}

the edit was to fix a typo reee
 
Status
Not open for further replies.