trigger_changemaxammo
trigger_changemaxammo | |
---|---|
Type |
point |
Status |
supported |
This entity, when triggered, changes maximum ammo amount of selected ammo type, also alows to replenish ammo to maximum.
1 Keyvalues
Trigger after fire : target
It's just target value.
Ammo name : message
Choose ammo type to change ammo limit from drop-down menu.
Value to use : m_iMaxAmmo
Value to use along with "Change max ammo mode".
Change max ammo mode : m_Mode
Set up the way the new ammo limit is modified: 'Set' - "Value to use" is now maximum ammo amount.'Add' - "Value to use" is added to the current maximum ammo amount.'Subtract' - "Value to use" is subtracted from the current maximum ammo amount.'Reset' - maximum ammo amount is reverted to it's default value.
2 Flags
1 : All players
Apply new ammo limit rules to all players (normally, the amount affects only '!activator').
2 : Remove excess ammo
Remove ammo limit completely.
4 : Set ammo to new max
Replenishes player(s) ammo to maximum.