playMaker

Author Topic: Changing Gui Skin/style with a String  (Read 2560 times)

Mr-Brett

  • Playmaker Newbie
  • *
  • Posts: 22
  • Not very technical Artist
    • Portfolio
Changing Gui Skin/style with a String
« on: May 24, 2013, 08:01:39 AM »
As the title says, I'm trying to change what skin/style my GUI uses with a string.
The reason is that I want to swap it when the build is for a mobile device and I couldn't find a way of changing values in the skin itself on the fly.

So I have a global string that I put the name of the skin in, and I'm feeding this into the GUI layouts but it's not working.

Is it possible? if not, any other ideas?

I tried setting up a check and setting the GUIskin through an fsm and ticking global but that either didn't work or would take about 5-10 seconds to come into affect, for unknown reasons.

Thanks

Mr-Brett

  • Playmaker Newbie
  • *
  • Posts: 22
  • Not very technical Artist
    • Portfolio
Re: Changing Gui Skin/style with a String
« Reply #1 on: May 24, 2013, 09:31:08 AM »
It seems that I got my terms muddled, Skins and Styles are not the same thing...