Adding abilties to a newly replaced unit.

Scauldingpon

New Member
Reaction score
1
I am i need of help about trying to add abilities to a newly replaced unit where the abilities can be changed at any time. kind like the hero builders. how can i add the exact abilities to the new unit? Remember my heroes don't have set abilities.
 

Sajberhippie

New Member
Reaction score
30
I don't know if this is what you're looking for, but isn't the simples way just to trigger it?
What event are you gonna use? Will the player choose, or do you simply want to add a bunch of abilities when the unit is replaced?

Either way, use something like this:
Trigger:
  • Trigger
    • Event
      • Unit is replaced
      • Player triggers (how you want this, like using ability/buying item/whatever)
    • Condition
      • Unit/Ability is equal to YOUR UNIT/ABILITY
    • Action
      • Remove YOUR ABILITY from YOUR UNIT
      • Add NEW ABILITY to YOUR UNIT
 

Scauldingpon

New Member
Reaction score
1
Okay so i got all my spells into an variable array. now i need to make it so when i purchase an item which is the spell and saves it and places it on the hero.. Anyone got a way?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top