There is currently no means for us to dynamically modify the list of abilities (add/remove/replace abilities) for a unit at runtime (i.e. during gameplay through triggers or otherwise).
The best alternative is to pre-add abilities but disable and hide all of them by default and then enable the ones you want when you want to "add" them to the unit. There are several ways to do this, some of which allow abilities to only be enabled for a specific unit and others that can toggle abilities for all units of a certain type or even enable the ability globally for all units that have it. Whatever method you use is up to you - they're pretty much all as clumsy as the next when it comes to having a lot of abilities or a lot of different units that need access to many abilities.
This remains probably the single most cited engine limitation preventing the Cortex Roleplay Engine from reaching greater heights of mapping and modding innovation.
Is this possible with triggers? I looked through them all, there didn't seem to be any such function?
Or would I need to pre add every single one on to the unit in data editor, then enable/disable to achieve this? Or something like that.
BUMP!
@Fullachain: Go
There is currently no means for us to dynamically modify the list of abilities (add/remove/replace abilities) for a unit at runtime (i.e. during gameplay through triggers or otherwise).
The best alternative is to pre-add abilities but disable and hide all of them by default and then enable the ones you want when you want to "add" them to the unit. There are several ways to do this, some of which allow abilities to only be enabled for a specific unit and others that can toggle abilities for all units of a certain type or even enable the ability globally for all units that have it. Whatever method you use is up to you - they're pretty much all as clumsy as the next when it comes to having a lot of abilities or a lot of different units that need access to many abilities.
This remains probably the single most cited engine limitation preventing the Cortex Roleplay Engine from reaching greater heights of mapping and modding innovation.