Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - HanaIndiana

Pages: [1]
1
Technical forum / Variables - scene scope
« on: September 07, 2015, 11:40:58 PM »
Hopefully a quick question, in need of just a quick answer. I want to make sure I'm not moving forward doing things incorrectly.

I have a scene with many scripts. The scripts need to access a lot of the same variables. Once the scene is over, most of the variables won't be needed anymore.

Right now, in order for the scripts to access a lot of the same variables, I've set them up as Global (but not in base.inc).
It seems like this is the way to do it, right? And once the scene is over, I can set these to null, so they take up less memory.  I just want to make sure there isn't another (or better) way to share variables within the scope of a single scene.

Thanks!  ;D

Pages: [1]

Page created in 0.634 seconds with 22 queries.