Weapon Ammo Item
Introduction
A weapon ammo item that can be picked up by a character
Dependencies
The WeaponAmmoItem
relies on other components of this plugin to work:
- Logger: Used to log useful information to help you debug any issues you might experience
API Reference
Properties
Property | Description | Type | Default Value |
---|---|---|---|
Ammo | The amount of ammo to add to the weapon | int | 10 |
bAddToAnyWeapon | Should the ammo be added to any weapon? | bool | false |
AllowedWeapons | The weapons that can use this ammo | TArray<TSubclassOf<AWeapon>> |