You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
A brush entity that can detect grenade type that enters its area and send signals.
Attributes
grenadetype - Type of grenade to detect (flash for Flashbang, smoke for Smoke Grenade)
triggerongrenade - Target name
Note
This is used in Counter-Terrorist Training Center map to detect if the player has thrown Smoke Grenade to turn off the awaiting func_tank.
if it's flashbang, it only works once
if it's smoke grenade, it is repeatable but weird thing is: it seems to work only when smoke grenade stops (right before popping) in its area, doesn't work when smoke grenade just flies through it. (tested)
also smoke grenade can activate it even when technically outside of it, because it seems that as long as model touches it (grenade model spans maybe like 6 units so it can activate it even behind some thin wall), it's good.
not only that but grenade also gets launched in random direction after popping smoke and it doesn't lose possibility to activate it accidentally
if it's smoke grenade, it is repeatable but weird thing is: it seems to work only when smoke grenade stops (right before popping) in its area, doesn't work when smoke grenade just flies through it. (tested)
also smoke grenade can activate it even when technically outside of it, because it seems that as long as model touches it (grenade model spans maybe like 6 units so it can activate it even behind some thin wall), it's good.
not only that but grenade also gets launched in random direction after popping smoke and it doesn't lose possibility to activate it accidentally