Fragglez
New Member
- Reaction score
- 4
I've been trying for quite a few hours now and I just don't see whats wrong in my thinking when it comes to fixing this trigger and getting it to work properly
Its somewhat like footies "BabyBoom" where if you keep it alive, it will increase the unit output by 1 (double it)
So... even after looking up a footies map that actually has the triggers put in, even trying to mimic everything, it still won't work!
Whereas "unitround" is a variable.
Details :
What i am trying to fix here is to get the unit (while in play) to make the Size +1 so it creates 2 units everytime "unitround" goes off to create a new unit.
Ideas?
Rep will be rewarded of course!
Its somewhat like footies "BabyBoom" where if you keep it alive, it will increase the unit output by 1 (double it)
So... even after looking up a footies map that actually has the triggers put in, even trying to mimic everything, it still won't work!
Code:
Increase Unit per Cycle
Events
Unit - A unit owned by Player 1 (Red) Finishes training a unit
Unit - A unit owned by Player 2 (Blue) Finishes training a unit
Unit - A unit owned by Player 3 (Teal) Finishes training a unit
Unit - A unit owned by Player 4 (Purple) Finishes training a unit
Unit - A unit owned by Player 5 (Yellow) Finishes training a unit
Unit - A unit owned by Player 6 (Orange) Finishes training a unit
Unit - A unit owned by Player 7 (Green) Finishes training a unit
Unit - A unit owned by Player 8 (Pink) Finishes training a unit
Unit - A unit owned by Player 9 (Gray) Finishes training a unit
Unit - A unit owned by Player 10 (Light Blue) Finishes training a unit
Unit - A unit owned by Player 11 (Dark Green) Finishes training a unit
Unit - A unit owned by Player 12 (Brown) Finishes training a unit
Conditions
Actions
If ((Unit-type of (Trained unit)) Equal to Penguin) then do (Set unitround[(Player number of (Triggering player))] = unitround[((Player number of (Triggering player)) + 1)]) else do (Do nothing)
If ((Unit-type of (Trained unit)) Equal to Penguin) then do (Player - Make Penguin Unavailable for training/construction by (Triggering player)) else do (Do nothing)
If ((Unit-type of (Trained unit)) Equal to Penguin) then do (Unit - Move (Trained unit) instantly to (Center of Unit Multiplier <gen>)) else do (Do nothing)
Whereas "unitround" is a variable.
Details :
Code:
Variable Name : unitround
Variable Type: Interger
Array (Checked)
Size: 1
Initial Value: 0 (Default)
What i am trying to fix here is to get the unit (while in play) to make the Size +1 so it creates 2 units everytime "unitround" goes off to create a new unit.
Ideas?
Rep will be rewarded of course!