weapon_tripmine

A weapon_tripmine gives a player who walks onto it a mine that players place on a wall, where it goes off when
someone walks past. It fires its Target when a player takes it, and it doesn't come back after that.
Attributes
The entity also has these common keys:
- Naming and triggering: Name, Target, Delay before trigger and KillTarget
- Position: Pitch Yaw Roll
- Appearance: all except Effects and Model scale
Shows brackets around the object for players near it. Within Hint Distance, the brackets are faint and in the HUD color. When the player is close enough to use the object and looks at it, the brackets take the color of the choice.
- None (empty) - No brackets
- button - Yellow, and orange while a master locks the object
- charger - Green, and red while the charger is empty
- eyescanner - Yellow
- pickup - Yellow
None (empty)objecthint_distanceSets how far from the player's eyes the faint brackets show, in units, up to 4096. The object must be in front of the player and in sight.
If you leave this key empty or set 0, the distance is 512 units.
colormapColors the parts of the model that a player model colors with the player's chosen top and bottom colors. A model without such parts doesn't change.The 81 choices
Notes
- Only living players pick it up
- A player who already has this weapon takes only its ammo. A player who also has full ammo leaves it on the floor
- It falls to the floor when the map starts and lies flat there
See also
game_player_equip- gives weapons to playersplayer_hasweapon- checks whether a player carries a weaponplayer_weaponstrip- takes weapons away
