Okay I got an income system for my map and I'm trying to make it so when
someone gets 100k income they lose 50k income and gain 1 lumber but it
doesn't work so here is what I got so far
someone gets 100k income they lose 50k income and gain 1 lumber but it
doesn't work so here is what I got so far
-
Events
- Time - Next_Level expires
-
Actions
- -------- Setup Timer --------
- Countdown Timer - Destroy (Last created timer window)
- Countdown Timer - Create a timer window for Next_Level with title Next Round in...
- Player Group - Pick every player in (All players) and do (Player - Add Income[(Player number of (Picked player))] to (Picked player) Current gold)
- Player Group - Pick every player in (All players) and do (Player - Add Income_Copy[(Player number of (Picked player))] to (Picked player) Current lumber)
- If ((Player 1 (Red) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Red <gen> (checking conditions)) else do (Do nothing)
- If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Blue <gen> (checking conditions)) else do (Do nothing)
- If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Teal <gen> (checking conditions)) else do (Do nothing)
- If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Purple <gen> (checking conditions)) else do (Do nothing)
- If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Yellow <gen> (checking conditions)) else do (Do nothing)
- If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Orange <gen> (checking conditions)) else do (Do nothing)
- If ((Player 7 (Green) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Green <gen> (checking conditions)) else do (Do nothing)
- If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Pink <gen> (checking conditions)) else do (Do nothing)
- If ((Player 9 (Gray) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Gray <gen> (checking conditions)) else do (Do nothing)
- If ((Player 10 (Light Blue) slot status) Equal to Is playing) then do (Trigger - Run Show Stats Light blue <gen> (checking conditions)) else do (Do nothing)
-
Events
- Unit - A unit enters Top unit <gen>
-
Conditions
- Income[(Player number of (Owner of (Entering unit)))] Greater than or equal to 100000
-
Actions
- Set Income[(Player number of (Owner of (Entering unit)))] = (Income[(Player number of (Owner of (Entering unit)))] - 50000)
- Set Income_Copy[(Player number of (Owner of (Entering unit)))] = (Income_Copy[(Player number of (Owner of (Entering unit)))] + 1)