Author Topic: Bot Events - Patrol  (Read 468 times)

I know this has been asked before, but I couldn't find any really helpful answers on search.

-----

How do you make a bot move from A to B to A, in a patrolling style, and then when it sees an enemy it will attack the enemy. When the enemy is dead it will resume patrolling.

Movement, attacking etc. I know how to do alone.

I figured it'd be something to do with "Onbotdetectenemy" but they seem to ignore that event.

Thanks in advance.


3 bricks - A, B, and an (unnamed) spawner.
Spawner
OnBotSpawn>Bot>SetBotMovement [MoveToBrick] [Checked]

B
OnBotTouch>Bot>SetBotMovement [MoveToBrick] [Checked] [A]

A
OnBotTouched>Bot>SetBotMovement [MoveToBrick] [Checked]

3 bricks - A, B, and an (unnamed) spawner.
Spawner
OnBotSpawn>Bot>SetBotMovement [MoveToBrick] [Checked]

B
OnBotTouch>Bot>SetBotMovement [MoveToBrick] [Checked] [A]

A
OnBotTouched>Bot>SetBotMovement [MoveToBrick] [Checked]

I forgot an event, and I can't edit my post so:

Add this to the spawner as well:
OnBotSpawn>Bot>SetBotAIProperties [Agressive] [Checked] [25]