[SOLVED] Image selection heuristics not updating for some

Posted on
Sun Jun 28, 2020 4:18 pm
mgolden50 offline
User avatar
Posts: 198
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: [SOLVED] Image selection heuristics not updating for som

Also please note that the statements following the If statements are intended properly. It's just that the code function for the forum is still not working properly for me.

Posted on
Sun Jun 28, 2020 4:26 pm
matt (support) offline
Site Admin
User avatar
Posts: 20016
Joined: Jan 27, 2003
Location: Texas

Re: [SOLVED] Image selection heuristics not updating for som

It looks like you are assigning the variable value to be the entire file name. It should just be the selector part between the + and the .png.

For example, instead of setting the variable value to weather+sunny.png set it just to sunny. Inside the Control Page editor you select the base variable name (weather+.png) so it knows what image group to select from (everything that starts with weather+), so the variable value should just be the selector part after the + (and before the .png).

Image

Posted on
Sun Jun 28, 2020 5:25 pm
mgolden50 offline
User avatar
Posts: 198
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: [SOLVED] Image selection heuristics not updating for som

That did it!

Thanks again

Who is online

Users browsing this forum: No registered users and 0 guests