I use ORK.Combatants.Create() to create combatant through scripting when I need a new combatant. In some cases, I would like to clean combatants when it is no longer used. Does the instruction ORK.Game.Combatants.Remove(combatant) is the proper way to destroy an instance of a Combatant ?
  • If they have a game object, just destroying the game object is enough to trigger this - but only for non-player combatants.

    ORK.Game.Combatants.Remove(combatant) will remove the combatant from the register (e.g. making it unavailable for battle range checks and other things), but doesn't destroy their game object.
    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.