In my map, I'm creating an ability that when used switches the weapons of a unit. I don't know how to do this using data, so I decided to use triggers. However, my custom abilites dont show up under the events "Unit uses ability" or "Unit is issued order". What event needs to be used to trigger actions when custom abilities are used? If this for whatever reason isn't possible, could somebody tell me a way to switch weapons through data?
Well, to make custom abilities show up in the triggers list of abilities, go into the data editor, your ability, "ability - commands", then change the button for "execute" to anything (Preferably a button you made for the ability to avoid confusion) and it'll show up i triggers.
Switching weapons in data can be done by adding a behavior and in the modifications+ under weapons add the weapon you want and disable the default one
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In my map, I'm creating an ability that when used switches the weapons of a unit. I don't know how to do this using data, so I decided to use triggers. However, my custom abilites dont show up under the events "Unit uses ability" or "Unit is issued order". What event needs to be used to trigger actions when custom abilities are used? If this for whatever reason isn't possible, could somebody tell me a way to switch weapons through data?
Well, to make custom abilities show up in the triggers list of abilities, go into the data editor, your ability, "ability - commands", then change the button for "execute" to anything (Preferably a button you made for the ability to avoid confusion) and it'll show up i triggers.
Switching weapons in data can be done by adding a behavior and in the modifications+ under weapons add the weapon you want and disable the default one