To prevent spam, I want to limit the number of instances of a certain thing that a squad can build. (For example, the number of traps.)
If I want to limit it to, say, four instances per squad, I could make a repeatable upgrade or slot item to control it, grant the squad four when it is created, make the construction depend on the squad having it, and then consume one for each build.
I think it would be easy if implemented as an ability, but due to limited menu space I need to make it a construction task. However, I haven't been able to figure out how make the squad use one for construction.
It seems like in_construction_actions should work, but the squad can build other things and I haven't been able to make in_construction_actions depend on what is being built.
Any ideas?
limit a squad's builds
9 May 2023, 09:17 AM
#1

Posts: 139
9 May 2023, 15:45 PM
#2


Posts: 817 | Subs: 5
The biggest problem with construction items is that they cannot check upgrades or slot items of the engineer. Only global upgrades can be validated.
I think the best solution is to use a global limit per defense with required_cap in ebps/requirements.
I think the best solution is to use a global limit per defense with required_cap in ebps/requirements.
12 May 2023, 06:34 AM
#3

Posts: 139
The biggest problem with construction items is that they cannot check upgrades or slot items of the engineer. Only global upgrades can be validated.
I think the best solution is to use a global limit per defense with required_cap in ebps/requirements.
Thanks, SneakEye
PAGES (1)

1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
92 | ||
![]() |
![]() |
![]() |
26 | ||
![]() |
![]() |
![]() |
23 | ||
![]() |
![]() |
![]() |
18 | ||
![]() |
![]() |
![]() |
13 | ||
![]() |
![]() |
![]() |
17 | ||
![]() |
![]() |
![]() |
17 | ||
![]() |
![]() |
![]() |
7 | ||
![]() |
![]() |
![]() |
4 | ||
![]() |
![]() |
![]() |
4 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.43063.872+8
- 2.56480.876+3
- 3.800454.638-1
- 4.303163.650+3
- 5.313114.733+9
- 6.12744.743+1
- 7.194101.658-1
- 8.282161.637+1
- 9.371284.566-1
- 10.14059.704+7
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
14

Download
1353