Force Retreat and Wurfrahmen Cooldown
13 Aug 2019, 05:54 AM
#1

Posts: 49
I have 2 problems.
I have an ability that disables movement but I want it to cancel when I press the Retreat button so the soldier doesn't get stuck in a retreat state.
I want the wurfrahmen multi rockets ability and single rocket ability to make the flame rockets ability go into cooldown mode when used, and vice versa.
13 Aug 2019, 06:41 AM
#2


Posts: 817 | Subs: 5
In sbps, the squad_retreat_ext has a list of actions. Those actions will be executed on retreat. You can enable its movement in there.
Set in both abilities the shared_timer to the same name. All abilities with that shared_timer within the squad will reset when using one of them.
Set in both abilities the shared_timer to the same name. All abilities with that shared_timer within the squad will reset when using one of them.
14 Aug 2019, 07:11 AM
#3

Posts: 49
In squad_retreat_ext > modifiers i added move_enable_modifier. I set exclusive to true. Now what happens with my ability that slows down movement speed, when i press retreat the squad will retreat with the reduced movement speed and not run back.
14 Aug 2019, 09:04 AM
#4


Posts: 817 | Subs: 5
You can use a requirement_action in your ability to apply the movement modifier. Then set in the requirements: required_in_state with not_retreating set to true.
19 Aug 2019, 18:35 PM
#5

Posts: 49
Forgot to tell you, this worked. Thanks.
PAGES (1)

1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
36 | ||
![]() |
![]() |
![]() |
75 | ||
![]() |
![]() |
![]() |
14 | ||
![]() |
![]() |
![]() |
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.715113.864+7
- 2.45065.874+14
- 3.349180.660+4
- 4.379204.650+1
- 5.332128.722-1
- 6.970420.698+1
- 7.323143.693-1
- 8.854232.786+1
- 9.468300.609+2
- 10.325117.735+2
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
15

Download
2429