trigger:
if arg-1 is not set:
send "&cUsage: /undead <x> <y> <z>"
stop
set {_x} to arg-1
set {_y} to arg-2
set {_z} to arg-3
spawn 1 skeleton at {_x} {_y} {_z}
set name of last spawned entity to "&2&lUndead Miner"
equip last spawned entity with leather helmet
give wooden pickaxe of infinity 1 to last spawned entity
stop```
the issue is with the "spawn 1 skeleton..." line
#skele skript not working
1 messages · Page 1 of 1 (latest)
you can use the location function, and use the spawn section
could you use an easy example just so i know?
Docs
Ah, the section doesn't immediately pop up I think so here https://skripthub.net/docs/?id=6654
Skript Hub - Documentation
Spawn a creature. This can be used as an effect and as a section.
If it is used as a section, the section is run before the entity is added to the world.
You can modify the entity in this section, using for example 'event-entity' or 'cow'.
Do note that other event values, such as 'player', won't work in this section.
Also, the <text> arg isn't an integer, I'd recommend using <integer> so that it'll work properly
okay ty
np