Author Topic: OnPlayerInSight bot event  (Read 807 times)

I'm trying to make a small gamemode and I made a bot go to a brick and then back. When i'm in front of the bot (which has a gun) it isn't attacking me. How can i change this without having it attack me even if i'm not in its sights?

An event was made a while ago which is activated when a bot spots a player. Here it is.

http://www.mediafire.com/download/6a818fliv88kzm1/Event_onBotEngage.zip

Using default events, bots can have their FOV restricted so that they are not always aware of players behind them, etc. etc. Using these two you should be able to get what you want done. This is done using SetSearchRadius, if I remember right.

Adding some sort of configurable looking pattern to bots could make really interesting maps and modes

This could be beyond abusable.

This could be beyond abusable.
relays are beyond abusable, go away

relays are beyond abusable, go away
really?
onplayerinsight>player>kill
make the bot spin somehow, there.

really?
onplayerinsight>player>kill
make the bot spin somehow, there.

who forgetin cares

relays are just as easy to use to crash a server

i tested this and it doesnt even work for what i want anyway

This could be beyond abusable.
really?
onplayerinsight>player>kill
make the bot spin somehow, there.
/agree


onplayerinsight >> player >> addHealth "-5"
onplayerinsight >> client >> CenterPrint "YOU'RE BEING BURNED BY LASERS!!!"

relays are just as easy to use to crash a server

only if the host is an idiot with quota settings?