I am trying to add the bow as a weapon that can be used in death match.
I added the weapon to the agent, but I am still getting exceptions.
Is there a nice tutorial on how to do this? I am just flying blind here.
I added the item here, but I am still having issues.
This is my current issue.
NullReferenceException: Object reference not set to an instance of an object
Opsive.DeathmatchAIKit.AI.Actions.DetermineWeapon.OnUpdate () (at Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/DetermineWeapon.cs:254)
BehaviorDesigner.Runtime.BehaviorManager.RunTask (BehaviorDesigner.Runtime.BehaviorManager+BehaviorTree behaviorTree, System.Int32 taskIndex, System.Int32 stackIndex, BehaviorDesigner.Runtime.Tasks.TaskStatus previousStatus) (at <3ed82e893f584901a16bc2e097c74b57>:0)
I added the weapon to the agent, but I am still getting exceptions.
Is there a nice tutorial on how to do this? I am just flying blind here.
I added the item here, but I am still having issues.
This is my current issue.
NullReferenceException: Object reference not set to an instance of an object
Opsive.DeathmatchAIKit.AI.Actions.DetermineWeapon.OnUpdate () (at Assets/Opsive/DeathmatchAIKit/Scripts/AI/Actions/Attack/DetermineWeapon.cs:254)
BehaviorDesigner.Runtime.BehaviorManager.RunTask (BehaviorDesigner.Runtime.BehaviorManager+BehaviorTree behaviorTree, System.Int32 taskIndex, System.Int32 stackIndex, BehaviorDesigner.Runtime.Tasks.TaskStatus previousStatus) (at <3ed82e893f584901a16bc2e097c74b57>:0)