Giving the Player a Weapon

Giving the player a weapon so they can fight back against the enemies can be done very easily. Each player will receive The Carlos Blade as their weapon using an equipment spawner.

Add Static Player Equipment Template

In Core Content, search for Static Player Equipment and add the template to the Hierarchy. This template will make it easy to give a weapon to your players when they spawn in the game. There are also options on the template that can be changed.

Update Equipment Template Property

The Static Player Equipment template has a custom property called EquipmentTemplate. This property is where you can set which weapon the player will start with. Drag The Carlos Blade template onto that custom property so that when players spawn in the game, they will be given that weapon.

Test the Game

Test the game to make sure you are equipped with the weapon and you can do damage to the enemies.

Scroll to Top