Please login or register.

Login with username, password and session length
Advanced search  


For WME related articles and tutorials visit WME Resource Center.

Author Topic: globals  (Read 2987 times)

0 Members and 1 Guest are viewing this topic.


  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 117
  • No pain, no game!
    • View Profile
    • Indie Flux
« on: July 20, 2007, 11:22:46 PM »

I was trying to define a global, only whenever i ran the program the game would report "[global] referenced but not used".  In the docs it doesn't say you need to add the declaration of the global to the script it's in.  In other words you need to have global myInt = 10; in one script, but if you want to use it anywhere else you need global myInt; in any other script file that needs it.  I figured this out by searching through the forum, but you may want to correct it in the docs or else make it truely global.

Keith Weatherby II
uhfgood -AT- frontier -DOT- com
Games Afoot Software
Indie Flux - Previews, Reviews, News and more!

Page created in 0.021 seconds with 18 queries.