Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: arj0n on Tue 17/02/2015 19:36:19

Title: Set GUI backgroundcolournumber in script?
Post by: arj0n on Tue 17/02/2015 19:36:19
I feel a bit stupid to ask this but I can't seem to find a way to set the backgroundcolournumber of a gui within the script.
So is there a way to set/alter the backgroundcolournumber of a gui within the script?
Title: Re: Set GUI backgroundcolournumber in script?
Post by: Crimson Wizard on Tue 17/02/2015 20:02:11
Quote from: Arj0n on Tue 17/02/2015 19:36:19
I feel a bit stupid to ask this but I can't seem to find a way to set the backgroundcolournumber of a gui within the script.
So is there a way to set/alter the backgroundcolournumber of a gui within the script?

Nope.
http://www.adventuregamestudio.co.uk/forums/index.php?issue=524.0

Workaround is create DynamicSprite and fill it with colour, then assign to gui background.
Title: Re: Set GUI backgroundcolournumber in script?
Post by: arj0n on Tue 17/02/2015 20:21:10
Aha, thanx for the reply CW.