Page 1 of 1

Set variable in Skin Editor (Copy a button)

Posted: Wed Dec 02, 2020 4:23 pm
by Spruenki
Hello everybody,
I tried to copy a button for starting films in the skinEditor and to change it. Most of it works, but I can't close the video. This is probably because the target is not defined correctly. What does vis.video_popup_file:

bild1.png
bild1.png (73.04 KiB) Viewed 1055 times

and how can i change the value in vis.video_popup_file? This variable is not displayed in the pulldown. I definitely have to put this somewhere, but I don't know where.

Best regards an thx for help,
Spruenki

Re: Set variable in Skin Editor (Copy a button)

Posted: Sat Dec 05, 2020 9:33 pm
by Hopki
Hi Spruenki,
These are the variables.
Open the skin editor and click anywhere in the canvas, you should see the list of all variables in the skin on the right.
Here is a screenshot of the variables from the Simplex_v6 skin

Screenshot 2020-12-05 at 20.30.02.png
Screenshot 2020-12-05 at 20.30.02.png (241.56 KiB) Viewed 1033 times

The actions then change the variable value.
These are then used in an element's logic block to effect it some way such as change its Alpha or visibility.
Regards,