I know how to give a unit an ability via the data editor, but in this specific case I need to be able to give a unit an ability in a trigger action.
I can't find a decent action that will let me add an ability, or that will let me put an ability in a specific command card slot. Is there something I should do in the data editor (like add an ability that starts out 'hidden' somehow) so that the trigger "Enable" ability and/or "Show" ability actions actually do something?
This was a pretty simple task in the wc3 editor, so I think it should be possible here too - what am I missing?
I know how to give a unit an ability via the data editor, but in this specific case I need to be able to give a unit an ability in a trigger action.
I can't find a decent action that will let me add an ability, or that will let me put an ability in a specific command card slot. Is there something I should do in the data editor (like add an ability that starts out 'hidden' somehow) so that the trigger "Enable" ability and/or "Show" ability actions actually do something?
This was a pretty simple task in the wc3 editor, so I think it should be possible here too - what am I missing?
There is no trigger to add abilities to units, however there is a trigger to add behaviors to units, and then behaviors can give units abilities.