Hello! I have a mechanic where I summon combatants from another player's group. After the battle, these combatants need to be spawned to collect XP, but I don't want them to appear in the game physically. I tried using a conditional prefab with an empty prefab, and switching to an empty prefab using a boolean flag as the battle ends, but it didn't work even though the boolean is set correctly. Do you have any suggestions for spawning the combatants for XP collection without physically manifesting them?
  • edited November 15
    They don't really have to be spawned for collecting exp, I guess it's just a side effect of adding them to the battle group ...
    A workaround could be to first spawn them somewhere far off (out of view) before joining them to the player group.
    Post edited by gamingislove on
    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!
Sign In or Register to comment.