I’m trying to change the background graphic of my GUI when a certain event happens. However, I’m having trouble with the syntax on how to write this.
In the manuel, I’ve found the BackgroundGraphic property (GUI) which suggests:
Code: ags
However, when I try this and any variation that I can think of, I get an error. This is what I have tried:
Code: ags
Code: ags
Code: ags
Code: ags
If someone could help me with the proper syntax I'd really appreciate it. Oh, and I'm uising version 3.1.1
Thanks,
Cheerios
In the manuel, I’ve found the BackgroundGraphic property (GUI) which suggests:
int GUI.BackgroundGraphic
However, when I try this and any variation that I can think of, I get an error. This is what I have tried:
5 gMyGUI.BackgroundGraphic;
gMyGUI.BackgroundGraphic = 5;
(5)gMyGUI.BackgroundGraphic;
gMyGUI.BackgroundGraphic(5);
If someone could help me with the proper syntax I'd really appreciate it. Oh, and I'm uising version 3.1.1
Thanks,
Cheerios