WeaponPowerupClass

Classlabel: "wpnpower"

Class Tree: Entity->GameObject->PowerUp->WeaponPowerup

Description:
Weapon Powerups can be used to allow an object to equip a Weapon.

Default ODF Properties:
[PowerUpClass]
soundPickup = "weapon.wav"

ODF Properties:
  • [WeaponPowerupClass]

    weaponName = ""
    The ODF name of the Weapon. Must be a valid Weapon Class.

    RefreshWeaponOnly = false
    If true, will only give the weapon to units that already have that weapon. Useful for refilling Local Ammo on a specific weapon.
On this page