Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Captain Keen on Sat 17/01/2004 12:33:22

Title: variables
Post by: Captain Keen on Sat 17/01/2004 12:33:22
Hello
How do you set a variable in one rooms so that it works in all rooms?
Title: Re:variables
Post by: Ishmael on Sat 17/01/2004 12:35:43
Either use GlobalInt's, or:

in the start of Global Script:

int variable;

and in the end of it:

export variable;

and in the Script Header:

import int variable;
Title: Re:variables
Post by: Captain Keen on Sat 17/01/2004 14:41:20
Thank you :Dit worked