This entity, when triggered, changes maximum ammo amount of selected ammo type, also allows to replenish ammo to maximum.
OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.
Name targetname : Set name of trigger_changemaxammo so other entities can trigger it to change max ammo. Every trigger use-type works uniformly. Can be kill-targeted.
Trigger after fire target : Entity to trigger whenever trigger_changemaxammo is triggered. Trigger use-type is 'Toggle'.
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.
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.