Hi!
I would like to make a citizen to follow the nearest player.
How can I do it?
This isn't working
I would like to make a citizen to follow the nearest player.
How can I do it?
Code:
every 1 second:
loop players in radius 20 of {bot.dwayne.botid}:
if loop-player exists:
move citizen {bot.dwayne.botid} to location of loop-player at speed 1
This isn't working