I'm trying to put flags on the tournament selection screen, instead of country names. I was able to put the flag there, but it's always Andorra flag. Plus, when I add OnAction command, the HelpText stop working.
What am I doing wrong?
If someone can explain to me what this CycleButton function does, I'd be glad.
- Code: Select all
item
{
//Text /Board/Country
//HelpText /WT_Intern/Text !ShowIfUnselectable
HelpText /Board/Country !ShowIfUnselectable
ImageFlag Flag 0.25 0.25
//CycleButton #ImageGI
Pos xC y center center
Font BoardF
ShrinkToMaxPixel dxC
OnAction
{
SlideCountry /Board/Country 0 /WT_Intern/NbCountry-1
}
ShowIfNot /Board/Country -1
ShowIfNot /Board/TypeRank -1
}
Thanks!