Need help for a trigger, even possible?
-
I have 2 units:
- War chariot (isLandTransport, canScramble)
- Elite unit as charioteer (isLandTransportable)
Together they get stronger (supportAttachment)
Now i want to give the Elite charioteer unit canScramble ability but only if a war chariot is in the same territory.
Is there a chance to work somehow?
-
@torpedoa hmm Idk. My first thought is that only air units can scramble and isLandTransport won't work with isAir units.
But yea not much help here as Idk
-
@beelee canScramble works without isAir.
-
@beelee https://forums.triplea-game.org/topic/2694/imperfect-1-movement-land-air-hybrid-kamikaze-scramble-unit
Eventually you want to read my post about isAir and scramble mechanics. -
@beelee from that post, the bottom line is the following observation through testing.
Air battles (airAttack, airDefense, canAirBattle) (isAir NOT needed !)
Scramble (canScramble, maxScrambleDistance, isAirBase (isAir NOT needed !)
-
-
@wc_sumpton Yes, but then the chariot becomes a catapult throwing the charioteer, though I suppose the system would make sense as long as scrambled units return to base (as you could, then, assume the chariot is moving with the charioteer without engaging in battle) and it is assured every chariot never defensively takes part in battles.
-
@cernel @wc_sumpton
Thank you both. I think i just would have to get rid of isAirBase from the charioteer then. Because i have always set isAirBase to all scramble units. Even in a WW2 scenario i set all air units as isAirBase themselves intentionally, to have much more air battles in general.Edit: The problem is that i have also horsemen units that also can scramble because of their own isAirBase setting which i cannot disable if i dont want to lose them as scramble units.
So to conclude i only can have all horse type units be able to scramble except the charioteer on foot unit then.
In other words, either all horse type units can scramble by themselves except the charioteer
or only the chariots and the charioteer are able to scramble.I hope i dont miss any point here?
-
@cernel If the chariot is both a canScramble and a isAirBase unit, and the charioteer is only canScamble, then both can scramble, but only the chariot in all circumstances and the charioteer only if a chariot is in territory.
The problem is that i have also horsemen/cavalry units which i also want to be able to scramble by themselves.
-
I think i have to explain to myself that the charioteer is just too much additional weight to be able to scramble together with the chariot then. Because the chariot unit is not empty to begin with. lol
I think i can live with that. Sounds reasonable. Dont you think?