edited August 2017 in ORK Support
Trying to make Real Time Battle AI use Dash and Roll abilities to dodge abilities that can hit them.
Post edited by FreedTerror on
  • edited August 2017
    Hm, you'd have to do that using the event system.

    E.g. spawn a prefab with a trigger and a Trigger Enter event interaction attached. The event would use Use Battle Action node to try to use dash/roll abilities on those that enter the trigger. Make sure to enable Start By Other in the interaction's settings.

    Attack abilities would spawn a trigger prefab set up like this to mark the area their attack would hit to warn other combatants to evade.
    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!
  • edited August 2017
    Right now I'm shooting the prefab with the event interaction at an ai combatant. Will that work?

    Here's my event setup https://www.dropbox.com/s/6x9dntrijtt0uhf/Screenshot 2017-08-14 11.38.22.png?dl=0

    Event Interaction setup: https://www.dropbox.com/s/fo7chflalfug5zq/Screenshot 2017-08-14 11.42.11.png?dl=0
    Post edited by FreedTerror on
  • edited August 2017
    That'll mostly work, but you'll have to add a Starting Object type actor to the event and use it as user and target in the Use Battle Action node.

    Also, you should enable In Blocked Control in the event interaction's settings.
    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!
  • Starting Object settings: https://www.dropbox.com/s/x2qh2lnznd3z0f2/Screenshot 2017-08-16 07.24.27.png?dl=0

    What settings would I need to set the starting object up for the battle action node?
  • Just set the User to use the actor you set up. Since it should be the first and only actor in the event, it should already be selected.
    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!
  • Got it to work, thanks GIL. :)
Sign In or Register to comment.