Hello, I want to make a convoy system to make players send resources through convoys. So far the convoy system works but I wanted to see if someone got experience with something like that to make it more effective on the implementation.
So far Ive managed to do it like this
I have 10 players so it would mean 100 of these triggers more or less. Any tips ?
So far Ive managed to do it like this
-
Convoy player 4 1
-

Events
-


Unit - A unit owned by Player 4 (Purple) Finishes training a unit
-
-

Conditions
-


(Unit-type of (Trained unit)) Equal to |cffff0000Send 200g to Solarguardia|r
-
-

Actions
-


Unit - Remove (Trained unit) from the game
-


Set VariableSet wagon4 = Wagon (team)
-


Unit - Create 1 Wagon (team) for Neutral Passive at (Center of W4 P1 <gen>) facing Default building facing degrees
-


Unit - Order (Last created unit) to Move To (Center of W1 DELIVER <gen>)
-
-
-
Convoy arrival red1
-

Events
-


Unit - A unit enters W1 DELIVER <gen>
-
-

Conditions
-


(Unit-type of (Triggering unit)) Equal to Wagon (team)
-
-

Actions
-


Player - Add 200 to Player 1 (Red).Current gold
-


Game - Display to HumanPlayers the text: A convoy has arrive...
-


Unit - Remove (Triggering unit) from the game
-
-
I have 10 players so it would mean 100 of these triggers more or less. Any tips ?