Ardenian
A
Ardenian
Hello, for my map I need a system that allows the player to upgrade an ability by buying an item from a dummy.
The problem is, I don't know how to get the index.
There is an indexed variable for each type of sold item, an indexed variable for each corresponding ability and the indexed unit that will get the new / upgraded ability.
But, I have problems getting started with this trigger.
The attached image shows what I basically want the action to look like. But, for the index I need the corresponding index from the variable that defines the type of the item.
How do I get this index ?
I would be glad if you could help me.
The problem is, I don't know how to get the index.
There is an indexed variable for each type of sold item, an indexed variable for each corresponding ability and the indexed unit that will get the new / upgraded ability.
But, I have problems getting started with this trigger.
The attached image shows what I basically want the action to look like. But, for the index I need the corresponding index from the variable that defines the type of the item.
How do I get this index ?
I would be glad if you could help me.
Last edited by a moderator: