Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Cheerios

#1
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
 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:
Code: ags
5 gMyGUI.BackgroundGraphic; 

Code: ags
gMyGUI.BackgroundGraphic = 5; 

Code: ags
(5)gMyGUI.BackgroundGraphic; 

Code: ags
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
SMF spam blocked by CleanTalk