Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Entities: weapon_pickup

japan edited this page Mar 7, 2023 · 5 revisions

weapon_pickup
Is a logic entity that spawns a pickup entity of the provided weapon. Once picked up, gives the weapon to the player and calls the base kill() method.

Inputs

  1. weapon string - internal name of the weapon to spawn. (default: weapon_pipe)
  2. ammo int - ammo count to give on pickup. (default: 0)

Outputs

None.