Hi GiL,

is there way this is possible in ORK 2.16? After the player lost the battle, I would like to implement a currency payment that would revive his characters and he can continue.

Can't find a way, how to let ORK know, to change the Battle state from Defeat back to ongoing battle.

Thanks,

Machal
  • Yes, that's possible by doing this in the death battle events of the combatants.

    E.g. set up a battle event that:
    - checks if the user is player controlled (e.g. Check User node)
    - search for all alive player combatants (Search Combatants node - stores them into a found objects list)
    - check the number of found alive combatants (Found Objects Count node)

    Afterwards, do whatever you need to do - but use a Cancel Death node at some point to prevent the combatant's death (and probably also restore some health).
    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!
  • Right, forgot about Cancel Death option. Tried and works like a charm!

    Thanks very much, GiL! :)
Sign In or Register to comment.