Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ytterbium on Wed 21/01/2004 22:00:26

Title: Setting variables to other variables
Post by: Ytterbium on Wed 21/01/2004 22:00:26
I am trying to set a variable called Midclick_x to the value of mouse.x. So, at the beginning of the function, I've put:

Midclick_x = mouse.x

However, the compiler seems to have a parse error at "mouse." What am I doing wrong?
Title: Re:Setting variables to other variables
Post by: Scorpiorus on Wed 21/01/2004 22:03:57
Midclick_x = mouse.x; ;)

~Cheers
Title: Re:Setting variables to other variables
Post by: Ytterbium on Thu 22/01/2004 00:20:03
Wow, I feel really stupid now.

Thank you.