Enemy Setup

Soox

New member
Hi all

So I've created an enemy character and made sure "AI Agent" is select. (Am using UFPS)
While the enemy is working fine I get a warning when adding a weapon.

Code:
The First Person Base Object for item 'PlasmaShotgun (Opsive.UltimateCharacterController.Items.CharacterItem)' was not found for the ID 0

The weapon holding animation is playing perfectly also the weapon is placed right but its invisible. I mean I can overwrite the material but I think I might doing something wrong. I assumed the First Person Base Object is not required for AI Agents?

Here is a screenshot how I setted up the enemy.

1682685965320.png

Cheers
 
You didn't add any first person arms to your AI agent so that's why you are getting the warning. This is the correct setup, and to get rid of the wanring you can remove the first person objects/components on the PlasmaShotgun.
 
Top