I tried various methods but somehow none of them works
![:( :(](/images/Smileys/sad.gif)
Any pointing will be appreciated, thanks.
Posts: 23
Posts: 817 | Subs: 5
Posts: 23
What kind of ability is it? Is it still running at the moment that you want to delete the upgrade?
Posts: 817 | Subs: 5
Posts: 23
You could add a requirement_action in sbps/action_apply. It checks on has_squad_upgrade and then in actions: a delay which removes the upgrade eventually.
Posts: 817 | Subs: 5
That will technically work and I tried this as well, but nothing really happens.
Posts: 23
Is the unit still affected by the aura?
Posts: 817 | Subs: 5
Posts: 23
Perhaps change the ability. Instead of an aura, use a target_action. Then you can make another target_action in the executor after a delay to remove the upgrades.
Posts: 817 | Subs: 5
Posts: 23
Perhaps take a look at "aura\aef_auras\sherman_battle_group_vet".
It uses slot_items to check the situation and those slot_items are automatically removed when the aura ends.
Posts: 817 | Subs: 5
Still not quite working, but how do sherman battlegroup's slot item work?
Posts: 23
The aura adds a slotitem, with the setting 'permanent' : false. Other auras can check on the presence of that slotitem. The slotitem will be removed when the aura is ended.
![]() |
![]() |
![]() |
17 | ||
![]() |
![]() |
![]() |
15 | ||
![]() |
![]() |
![]() |
4 | ||
![]() |
![]() |
![]() |
2 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 |