permission: titan.use
trigger:
summon giant
set {_entity} to spawned entity
make player ride {_entity}
wait 1 tick
set ai of {_entity} to true
loop 20 times:
set path target of {_entity} to player
wait 1 tick```
i dont get any error but the mob (giant) doesnt move, so idk whats the problem
#my code doesnt work :(
1 messages · Page 1 of 1 (latest)
Hey @stray mortar. Debuging can be done.
First of all, I recommend you change set {_entity} to spawned entity to set {_entity} to last spawned giant.
After that, make sure the local var is actually being set. To do so, broadcast the entity in chat.
If the return value is none, adjust your code.