trigger_weaponfire

From Valve Developer Community
Jump to: navigation, search

trigger_weaponfire is a brush entity available in Black Mesa Black Mesa. It is a volume that fires outputs when an entity with grenade_ prefix (grenade_mp5_contact, grenade_bolt, grenade_hornet, etc.) enters or leaves it. This is the only trigger entity which reacts to entities of this type (other ignore or doesn't work with most of them).

All properties, inputs and outputs are same as trigger_multiple. Original FGD also provides all the flags, but none of them will work with this entity.

This entity is very useful for cases, when you need to fire outputs when specified grenade touches trigger. This entity is also useful when you need to do something with specified grenade entity, for example, this is the only way to set right skin for crossbow bolts in multiplayer (for some reason crossbow bolts in multiplayer use the green skin texture when they should use the red skin).

Note.pngNote:This entity doesn't work with grenade_tripmine, use other trigger entities instead.