PDA

View Full Version : raising global vars with buttons



leonthelion
January 13th, 2008, 11:58 PM
Can you raise global variables with buttons? I tried doing what I do with _roots but it didn't work.
on(release){_global.armor++}
Is there a different type of code you use or something? Thanks

Lou
January 16th, 2008, 03:00 PM
You shouldn't have a problem doing it either way, they both work.