[Solved]Can I implement ConditionSwitch into ground of Imagemap?
Posted: Fri Oct 28, 2022 6:50 pm
This. I have image statement with ConditionSwitch:
And I have screen with imagemap:
I want to go DRY and reuse image something into the ground argument of imagemap statement. Can I do that? I've done some googing and it shows nothing.
Code: Select all
image something = ConditionSwitch(
"x == 1","images/thing_1.jpg",
"x == 2","images/thing_2.jpg",
"x == 3","images/thing_3.jpg",
"x == 4","images/thing_4.jpg",
)Code: Select all
screen whatever:
imagemap:
ground