- Joined
- Nov 6, 2011
- Messages
- 44
-
British Isles IDs 1 to 5
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set ProvinceID = 1
-
Set Province[ProvinceID] = Village 0010 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = London
-
-
This trigger is needed for another trigger:
-
Province Names
-
Events
-
Time - Elapsed game time is 5.00 seconds
-
-
Conditions
-
Actions
-
For each (Integer ProvinceID) from 1 to 103, do (Actions)
-
Loop - Actions
-
Floating Text - Create floating text that reads ProvinceName[ProvinceID] at ProvincePoint[ProvinceID] with Z offset 200.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Custom script: call RemoveLocation(udg_ProvincePoint[udg_ProvinceID])
-
-
-
-
e.g. It displays "London" over the province with the ID of 1.
This works properly.
-
The Balkans IDs 61 to 75
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set ProvinceID = 61
-
Set Province[ProvinceID] = Village 0033 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Athens
-
-
-
Set ProvinceID = 99
-
Set Province[ProvinceID] = Village 0162 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Smyrna
-
Turkey and Cyprus IDs 96 to 103
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set ProvinceID = 96
-
Set Province[ProvinceID] = Village 0035 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Angora
-
Set ProvinceID = 97
-
Set Province[ProvinceID] = Village 0161 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Bithynia
-
Set ProvinceID = 98
-
Set Province[ProvinceID] = Village 0173 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Anatalya
-
Set ProvinceID = 99
-
Set Province[ProvinceID] = Village 0162 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Smyrna
-
Set ProvinceID = 100
-
Set Province[ProvinceID] = Village 0160 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Adana
-
Set ProvinceID = 101
-
Set Province[ProvinceID] = Village 0177 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Kastamon
-
Set ProvinceID = 102
-
Set Province[ProvinceID] = Village 0176 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Trebizon
-
Set ProvinceID = 103
-
Set Province[ProvinceID] = Village 0041 <gen>
-
Set ProvincePoint[ProvinceID] = (Position of Province[ProvinceID])
-
Set ProvinceName[ProvinceID] = Cyprus
-
-
I assume it is something wrong with "100". What could be causing it?
It is confirmed that all provinces with ProvinceIDs from 1-99 work properly as tested in-game.
Last edited: