whats the proper way to set up an enemy moving around in an area with the combatant spawner , moveAI range, and battle icons it spawns an enemy but it wont move around and the trigger to the battle is attached to the "Battle" Icon I want it to trigger from touching the enemy any advice?
  • this is to trigger a turn based battle
  • At what range a battle triggers is defined in the combatants settings (e.g. in Combatants > Combatants > General Settings for all combatants). The Battle Settings > Auto Start Battles settings there define how battles start when being near an enemy.

    The 3D RPG Playground tutorials use such a setup, e.g. here for setting up the move AI and here for the spawner in the scene.
    If the enemy doesn't move around, it's most likely due to the movement component you're using on your combatants not working correctly. E.g. if you're using NavMesh agents, make sure there is a NavMesh baked in your scene.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Ah ok thannk you, I'm pretty sure my combatant spawner was overriding my default moveAI settings so removing the moveAI settings i had from combatant spawner solved this
  • edited August 18
    Is thee anywhere I can watch a tutorial on how to properly set up a moveAI for a combatant follower? it works but the follower acts awkward moving back and forth when near the idleing player
    Post edited by Dark_Son on
  • This is most likely due to your used movement component. Sounds like you're using the Default movement component for your combatants, which is a very bare-bones implementation and pretty stupid (but viable especially for 2D). I'd recommend using NavMesh agents or A* pathfinding (if you own that).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • sorry I figured it out I am using NavMesh agents the movement component was just set wrong
Sign In or Register to comment.