View Single Post
SpannerSpammer
Member
Join Date: Mar 2006
Old 07-27-2016 , 04:07   Re: Looking for flashbang
Reply With Quote #4

Just do an is_in_viewcone( ) check from the Player, and negate the effect
for any explosions not in the Player's viewfield.
__________________
[NeoTF|DEV]SpannerSpammer-[AoE]-
NeoTF Development Team.
http://steamcommunity.com/groups/neotf
SpannerSpammer is offline