Hi,
I got the following script some time ago and I'd like to modify it a bit. At the moment the mob only flees when attacked, but I'd like to make it so it also flees once a player gets too close to it - say, 6 tiles. Don't actually know how to get it done, so any help will be much...