Hello i downloaded skStuff hoping to be able to make a spawned entity chase a player but im having some problems.
EDIT:
Sorry forgot to include some things:
Version of skStuff: 1.6.4.1
Code:
command /test:
trigger:
if player is "Elsmok":
spawn a pig at player
set {_pig.%player%} to spawned pig
loop all players in radius 15 of target block:
set {_loop.%player%} to location of loop-player
add pathfind goal target {_pig.%player%} to loop-player at speed 3
EDIT:
Sorry forgot to include some things:
Version of skStuff: 1.6.4.1