How to fix Tank Trap Repair Animation
3 Jun 2016, 15:01 PM
#21

Posts: 42
oh lord... I put in a requirement for them to use torch if unit_type was building and if unit_type was tank_traps. I built three tank traps, had the howitzer beat them up a bit, sent the Rear Echelons over to repair, they took out their torches and I was happy. then they started digging with the lit torches and stacking sandbags with the lit torches as well. Where do I go from here?
3 Jun 2016, 15:08 PM
#22

Posts: 42
I just added NOT tank traps to the is building, not vehicle_building requirement. Will see if that works. But honestly they can really do more than one animation at a time? I thought they would just use the first one whoes requirements were met.
3 Jun 2016, 15:44 PM
#23

Posts: 42
Ok, that fixed it. To recap:
1. Added tank_traps to has_unit_type in target_special_validation
2. In action_list ... delayed_actions > requirement_action:
2a. copied the requirement_action that activates blowtorch_state if unit_type is building AND
unit_type is vehicle_building and pasted it in as a new requirement_action,
then changed the vehicle_building unit_type to tank_traps
so essentially it is "building" and it is "tank_traps".
2b. added a required_not requirement to the requirement_action that activates build_shovel_sandbag_state
if the unit_type is building AND the unit_type is NOT vehicle_building.
The new required_not requirement states that the unit_type is NOT tank_traps.
So essentially if it IS a building AND NOT a vehicle_building AND NOT tank_traps then use shovel and
sandbags.
Clear as mud? Thanks again Eli,
Pops
1. Added tank_traps to has_unit_type in target_special_validation
2. In action_list ... delayed_actions > requirement_action:
2a. copied the requirement_action that activates blowtorch_state if unit_type is building AND
unit_type is vehicle_building and pasted it in as a new requirement_action,
then changed the vehicle_building unit_type to tank_traps
so essentially it is "building" and it is "tank_traps".
2b. added a required_not requirement to the requirement_action that activates build_shovel_sandbag_state
if the unit_type is building AND the unit_type is NOT vehicle_building.
The new required_not requirement states that the unit_type is NOT tank_traps.
So essentially if it IS a building AND NOT a vehicle_building AND NOT tank_traps then use shovel and
sandbags.
Clear as mud? Thanks again Eli,
Pops
1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
190 | ||
![]() |
![]() |
![]() |
105 | ||
![]() |
![]() |
![]() |
31 | ||
![]() |
![]() |
![]() |
15 | ||
![]() |
![]() |
![]() |
2 | ||
![]() |
![]() |
![]() |
0 | ||
![]() |
![]() |
![]() |
66 | ||
![]() |
![]() |
![]() |
22 | ||
![]() |
![]() |
![]() |
16 | ||
![]() |
![]() |
![]() |
9 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.43965.871+3
- 2.5416.771+1
- 3.447154.744+9
- 4.710249.740+2
- 5.315119.726+11
- 6.321169.655+4
- 7.10551.673-3
- 8.675104.866-1
- 9.10929.790+10
- 10.19665.751+9
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
15

Download
1445
Board Info
367 users are online:
367 guests
0 post in the last 24h
4 posts in the last week
24 posts in the last month
4 posts in the last week
24 posts in the last month
Registered members: 56532
Welcome our newest member, Gavig539
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Gavig539
Most online: 2043 users on 29 Oct 2023, 01:04 AM