So, I am planning to add C# function calls to several abilities in a grid-combat based game. In these functions, I am planning to do various things to the following combatants:
1. The combatant who is using the ability that triggered the script. 2. The target of #1's ability. 3. Any combatants that may be within the area of an AOE ability.
So, in order to modify these combatants I am going to need to figure out which combat is the actor and which is the target(s). While I understand how to do this in events I haven't been able to find a way to do this in a C# function. Is there a built in way for ORK to give me this information, or am I going to have to do something a bit more complicated?
There is probably some sort of simple Unity based way of finding these combatants that I just haven't learned yet, lol. I'd appreciate any help here :)
There isn't really an easy way to get that information from ORK. It's probably best to write a custom event node for this - the full version contains the code for all event nodes, so just use one of those for reference :)
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!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!