Hey there all,
I'm having some difficulty in a World Diplomacy map that i'm attempting to make, basically my thought is to put a floating text next to each city which when income comes around (every 365 seconds) it goes up by 20. And thus the longer you hold a city the more population you have and the more gold you get per turn. Heres what I attempted to do:
Moscow = Integer with a value of 100
MoscowPlayer = A Player Group with one player, the player that controls Moscow
Now I pretty much stumbled through that lol not knowing what i was doing. However, what i'm really asking is how, or if i can set the floatingtext in Moscow to be in a variable so I can change it every time the income comes, and if I can do this simulatanously with other cities at the same time because i really hate using (Last Created).
Also I appologise if this is in the wrong forum, but I don't think it is.
I'm having some difficulty in a World Diplomacy map that i'm attempting to make, basically my thought is to put a floating text next to each city which when income comes around (every 365 seconds) it goes up by 20. And thus the longer you hold a city the more population you have and the more gold you get per turn. Heres what I attempted to do:
-
Player - Add Moscow to (Random player from MoscowPlayer) Current Gold
-
Set Moscow = (Moscow + 20)
-
Floating Text - Create floating text that reads (String(Moscow)) at (Center of Region 019) with offset and colour blah blah blah
-
Set MoscowFloat[Moscow] = (Last Created Floating Text)
-
Floating Text - Change the lifespan of MoscowFloat[Moscow] to 365 seconds
Moscow = Integer with a value of 100
MoscowPlayer = A Player Group with one player, the player that controls Moscow
Now I pretty much stumbled through that lol not knowing what i was doing. However, what i'm really asking is how, or if i can set the floatingtext in Moscow to be in a variable so I can change it every time the income comes, and if I can do this simulatanously with other cities at the same time because i really hate using (Last Created).
Also I appologise if this is in the wrong forum, but I don't think it is.