think of a lonely beautifull island somewhere deep in the see ...
and now the problem:
- the player is dead
- he is spectating a bot
- the bot has flashlight on ... ( SetEntProp(client, Prop_Send, "m_fEffects", 4); )
... when the player overtakes the bot and botTakeOver was fired, the bot is controlled by player and has flashlight off (thats no problem, just have to enable it again)
... but a the location, where the player has overtaken the bot , the flashlight light conus is still present (see picture)
http://i.imgur.com/uwzBTdj.png
-> so i thought, the simpliest way is to disable the bots flashlight before the player overtakes it.
but how to do this? there is no pre event of botTakeOver (post/pre hook modes) and when botTakeOver is fired, the bot is already controlled by player...
or
is there an other way to remove that flashlight light conus?
thanks!