Variables stored in Object .yy file

N

Nakwatuk

Guest
I was working with a camera object that has a few instance variables defined including:
scale_
width_
height_

For some reason, after not touching the object for some time, I noticed the Create Event was entirely missing but all of the instance variables in its other events were still working without error. I ran some debug messages and the variables still had values. A dumb question, but is this normal?

Upon further investigation, I noticed the variables are all still defined in the object's .yy file.

Is there someway to flush these .yy files? Seems like this stuff could creep back up to hurt later on.

Thanks,
Nak
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
Object variables are edited by clicking "Variable definitions" button in the object pop-out.
 
N

Nakwatuk

Guest
This was a major oversight on my part. I hadn't been using the variable definitions with the exception of this one object, and had forgotten they were defined. Thanks for pointing this out.
 
Top