Storing chosen abilities

RedOrb

You can change this now in User CP.
Reaction score
14
Hi all. If I have two hero units with the same abilities, and one gets replaced by the other, is it possible to save the abilities chosen on the first, and load them onto the replacement unit somehow?
 

Xan_Kriegor

I can change this now in User CP.
Reaction score
12
To clarify, you want the levels of the abilities to carry over to the swapped hero?

This probably isn't the best way to do it but it's what immediately came to mind after reading your post. What you'd do is using an integer variable array (or a few variables, w/e), use Set Variable to Unit - Level of (your ability) for (swapping hero) for each of your abilities and then after swapping the heroes use Unit - Set level of (your ability) for (swapped hero) to varInteger. This may be subject to needing enough levels to level the abilities or they may end up with extras, not sure there.

Like I said not sure how well it'd work but that's what came to mind.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top