Hello,
Can I make combatant use ability on another combatant via script?

Thanks,
  • Yes, you can.
    user.Abilities.Get(int id).Use(Combatant user, List < Combatant > targets, bool useAction);
    The user is a Combatant, the id is the ability's ID/index.
    The targets is a list of the targeted combatants.
    Use true for useAction to actually perform an animated action, or false for only doing the ability's calculations.
    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!
  • Most excellent! You are a True Gentleman and a Scholar.
    image
Sign In or Register to comment.