Prop ammo

From Sunrust Wiki
Revision as of 17:19, 16 May 2019 by Johnny moe (talk | contribs) (Created page with "Game specific ammo. == Keyvalues == '''Ammo Type''' <choices> : Ammo type this entity becomes. {| role="presentation" class="wikitable mw-collapsible mw-collapsed" | |- | *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Game specific ammo.

Keyvalues

Ammo Type <choices>

Ammo type this entity becomes.

Amount <integer>

Amount of ammo that collecting this item gives.

Never Remove <choices>

Never remove when used or damaged, for repeated uses.
  • 0: No
  • 1: Yes

Ignore Pickup Counter <choices>

Set to ignore a maxpickupcounter, if any.
  • 0: No
  • 1: Yes

Ignore Use <choices>

Set to disable being able to pickup via use key.
  • 0: No
  • 1: Yes

Inputs

input givetoactivator <void>

Forces the ammo onto the activator.

input setneverremove <integer>

Set to make infinite uses.

input setignorepickupcount <integer>

Set to ignore any max pickup counter.

input setignoreuse <integer>

Set to disable being able to pickup via use key.

input setammotype <string>

Set to change the ammo type of this entity.

Outputs

output OnPickupPassed <void>

Called when the ammo is given to the player.

output OnPickupFailed <void>

Called when the ammo is not given to the player