Hi,
iv got an problem.
i currently programming an map and in this map there is a dialog with 148 buttons :P. Each of this butons acktivate an menu where u can choose an unit. but how can i save in wich row/column the unit is ?
examle:
1 2 3 4
5 6 7 8
iv klicking on 1
an menu is opening:
Bandit
Archer
i klick on archer.
so i need an trigger who saves:
- the choosen unit
- the button (row/colomn)
- the player
After this i need to place the units on the terrian
terrian:
1 (here should be my unit) 2 3 ...
Hi, iv got an problem. i currently programming an map and in this map there is a dialog with 148 buttons :P. Each of this butons acktivate an menu where u can choose an unit. but how can i save in wich row/column the unit is ? examle: 1 2 3 4 5 6 7 8
iv klicking on 1 an menu is opening: Bandit Archer
i klick on archer. so i need an trigger who saves: - the choosen unit - the button (row/colomn) - the player
After this i need to place the units on the terrian terrian: 1 (here should be my unit) 2 3 ...
any have an solution
Hoping for answers windowssiebenfan
Use data tables
Store the value of the picked unit into a key like "Player1.PickedUnit", and the coordinates as "Player1.PickedButtonX" and "Player1.PickedButtonY".
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
Thank u both that helped me a lot :) :)
Closed