Adding abilities and charges via items

PrisonLove

Hard Realist
Reaction score
78
How would add abilities, and add charges for that ability to units via picking up an item. I want exactly what they do in the Castanar mission (secret mission) from campaign.

Basically this is what happens:
-You have a unit with no abilities
-Your unit picks up a grenade item
-The grenade ability is added to your unit with 3 charges
-If you pick up another grenade item, the charges of your grenade ability increases by 3
-If you use the grenade ability, your charges decrease by 1 (obviously)
-When you use all of the charges, the ability is grayed out (or possibly removed, I haven't decided which yet)

This sort of thing has to happen for several different item-types.

Does anybody know how to do something like this? I want to make a survival-type map that uses this kind of system.
 
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