Is it possible to have a timed upgrade?
Posts: 23
I tried various methods but somehow none of them works
Any pointing will be appreciated, thanks.
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?
Actually its the ability that adds a 1 second aura to a unit, and aura contains the upgrade for units in the aura
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.
That will technically work and I tried this as well, but nothing really happens.
Posts: 817 | Subs: 5
That will technically work and I tried this as well, but nothing really happens.
Is the unit still affected by the aura?
Posts: 23
Is the unit still affected by the aura?
The aura only last 1 second, which add an upgrade to units in aura
The upgrade still exsist anyway
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.
sorry but what do that mean by target_action? Is the one in the ability?
What I would like to achieve is several units around the target to recieve an timed upgrade.
Because I had several similar kind of abilities but I don't want them to overlay their effects on each other when casting, so the abilities will have to do upgrade check.
Posts: 817 | Subs: 5
It uses slot_items to check the situation and those slot_items are automatically removed when the aura ends.
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.
Still not quite working, but how do sherman battlegroup's slot item work?
Posts: 817 | Subs: 5
Still not quite working, but how do sherman battlegroup's slot item work?
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.
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.
Just got it to work, thanks
Livestreams
73 | |||||
42 | |||||
35 | |||||
24 | |||||
22 | |||||
14 | |||||
564 | |||||
83 | |||||
55 | |||||
15 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.653231.739+13
- 2.838223.790+1
- 3.35057.860+15
- 4.590233.717+6
- 5.278108.720+29
- 6.306114.729+2
- 7.645.928+5
- 8.922406.694+1
- 9.1118621.643-1
- 10.265138.658+2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
2 posts in the last week
28 posts in the last month
Welcome our newest member, Haruta446
Most online: 2043 users on 29 Oct 2023, 01:04 AM