• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Help With Character Creation Code *Remake*

S

shadow7396

Guest
Hey guys, I know I have already posted a similar thread to this, but I haven't really been working on Gamemaker for some time. So I wanted to make a new post on this subject. Now I have two questions to ask, but I'll only ask the first question as I create this thread and then I'll ask the second one after someone replies.

Question #1: This is a simple question or so I think at least and I wanted to get this out of the way first. But for some reason I'm getting an error in this line of code:
Code:
global.Gender = 0
global.Skin = 0
global.Headwear = 0
global.Hairstyle = 0
global.Head = 0
global.Body = 0
global.Pants = 0
For some reason it says global.Skin, global.Head, and global.Pants have an error and the error is variable name expected. I never had this error before using the exact same global variables in the code above!
 
Top