part:event:ammo

Ammo

Compares your current ammo to a given value (amount argument) and triggers the event if the operation returns true.

Any number operator.

nametypedescription
primary boolean Checks primary ammo count when true, secondary when false.
amount number The target amount used for comparison.
If the weapon has no primary/secondary fire, or doesn't take ammo, the ammo count equals -1.

Set the event to ammo, operator to below, amount to 5. The event will trigger when your ammo count goes below 5.

Download: event_ammo.txt


← Go back to Event

  • part/event/ammo.txt
  • Last modified: 7 days ago
  • by yagira