Null exception on EquipWeapon method

Are we supposed to update the enemies to have Unarmed as their default weapon? Currently its getting set to null and causing an exception in EquipWeapon method.

All of your enemies should have a weapon of some sort set in default weapon. This can be a weapon like the sword or bow which equips a model, or it can be Unarmed if they have no weapon. Regardless, if no weapon is assigned, then you’ll get an exception and the enemy will be unable to attack.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms