| 04-17-2004, 10:11 PM | #1 |
This is what I can remember of my trigger I made. Event Every 180 seconds of game time Condition Action Do action integers 1 through 10 (or something like that) Pick every player and do actions Add (number of unit A controlled by player 1 * 50) to player ones current lumber Add (number of unit B controlled by player 1 * 10) to player ones current lumber The problem is that it gives a hundred resources per unit owned by player x. And ignores the multiplication. I'm using UMS WE. Could it be a bug in that? Or did I download a faulty patch...again? Or is it just the trigger? |
| 04-17-2004, 10:21 PM | #2 |
How about giving the actual trigger instead of a hand-written version of it? |
| 04-17-2004, 10:31 PM | #3 |
Sorry can't do that until tommorrow. My parents put a timer on my computer where I can only mod warcraft for 2 hours a day. And I'm almost out of time on the internet too :< |
| 04-17-2004, 11:00 PM | #4 | |
Quote:
HAhahahaha |
| 04-18-2004, 06:20 PM | #5 |
Here's the exact trigger. Events Time - Every 180.00 seconds of game time Conditions Actions For each (integer A) from 1 to 10, do (actions) Loop actions Player Group - Pick every player in (all players) and do (actions) Loop - actions Player - Add ((Number of living Iron Mine units owned by player 1 (Red) x 20) to player 1 (red) current lumber Player - Add ((Number of living Lumber Yard units owned by player 1 (Red) x 15) to player 1 (red) current lumber Any help? |
| 04-18-2004, 11:28 PM | #6 | |
Quote:
im wondering about your integer A 1-10, E_ ever 180 seconds of game time C- A- Code:
Spieler - Add ((Number of units in (Units owned by Spieler 1 (Rot) matching ((Unit-type of (Matching unit)) Gleich Iron Mine))) x 20) to Spieler 1 (Rot) Aktuelles Holz |
| 04-19-2004, 08:09 AM | #7 |
You prob want this trigger correct? lumber Events Time - Every 180.00 seconds of game time Conditions Actions For each (Integer A) from 1 to 10, do (Actions) Loop - Actions Player - Add ((Number of living Footman units owned by (Player((Integer A)))) x 20) to (Player((Integer A))) Current lumber |
| 04-19-2004, 10:43 PM | #8 |
Thanks but I figured it out on my own. |
