Code: Select all
follow
followTarget
followEmotion
followEmotion_distance
followFaceDirection
followDistanceMax
followDistanceMin
followLostStep
followSitAuto
followBot
If you try to make a party with 3+ bots, you may find the following situations:
- All bots follow one character, and unless you tweak the followDistanceMax and Min stuff, they usually get stucked in the same square, so you see a character walking as a "mob" of bots following it. Kinda obvious.
- A bot follows another, that one another, and so on till you reach the "main" character. With 3 bots, well maybe it can work, but with 4+ it's even ridiculous, it looks like a train or little chickens following mom. xD
- followTarget_radius [<number>] With this option, the bot would consider the master like if he were occupying an area instead of the square where it's really on. So, if you keep this at 3 and followDistance at 3, for example, the bot would follow the target till he is at 3 squares of the radius. This would make the movements more random, and not so straight as if they were following it like an army.
- followPartner [<player name>] This option would make the bot to know if there are other bots following the same character, so it could interact with them, like with the next option.
- followRadiusMin [<number>]
- followRadiusMax [<number>]
These options would make a bot to leave these distances between other bots following the same character, listed in the above option, or the followTarget one. This way, if two bots are following the same character, they would be a little separated and wouldn't get stucked in the same square. By the other side, they would make the bot try not to be separated from the other ones, so for example if there's a party with a priest, it could try to be always as close as possible to all characters to be able to heal them.