"global" issues; never mind, I am an idiot, solved

Get help using Construct.

"global" issues; never mind, I am an idiot, solved

Postby Tube on Thu Jul 29, 2010 10:15 am

This just started acting up tonight. I cloned a layout, and immediately afterward, I noticed that Construct will not accept "global" as an object of any sort. Hard to say if it's to do with the cloning, but it seems pretty well universal to Construct, as ALL .cap files I try to open are now affected by this.

Image

Sexy, eh?

I figure it's probably a matter of clearing a registry entry somewhere, or something like that. Hopefully it's not a matter of 0.99.91 itself being bugged, with it being the latest "stable" release and all.

Anyway, any thoughts on this?
Last edited by Tube on Thu Jul 29, 2010 8:57 pm, edited 1 time in total.
User avatar
Tube
 
Posts: 46
Joined: Mon Jun 21, 2010 5:07 am

Re: "global" is apparently not an object name, ideas for a fix?

Postby toralord on Thu Jul 29, 2010 11:23 am

it is not global.Value('indexlevel') it should be this global('indexlevel')
because when you put a " . " at the end of a global you are in indicating that it is an object.

I am assuming that you don't have an object named global at all and you are trying to use global Variables from the picture.
User avatar
toralord
 
Posts: 182
Joined: Tue Apr 28, 2009 4:55 am

Re: "global" is apparently not an object name, ideas for a fix?

Postby Tube on Thu Jul 29, 2010 8:56 pm

toralord wrote:it is not global.Value('indexlevel') it should be this global('indexlevel')
because when you put a " . " at the end of a global you are in indicating that it is an object.

I am assuming that you don't have an object named global at all and you are trying to use global Variables from the picture.


Holy crap, that was a serious brain-fart. I knew better than that. That's why I shouldn't stay up until 4 am working on things, thanks.
User avatar
Tube
 
Posts: 46
Joined: Mon Jun 21, 2010 5:07 am

Re: "global" is apparently not an object name, ideas for a fix?

Postby adrix89 on Fri Jul 30, 2010 6:04 am

Tube wrote:
toralord wrote:it is not global.Value('indexlevel') it should be this global('indexlevel')
because when you put a " . " at the end of a global you are in indicating that it is an object.

I am assuming that you don't have an object named global at all and you are trying to use global Variables from the picture.


Holy crap, that was a serious brain-fart. I knew better than that. That's why I shouldn't stay up until 4 am working on things, thanks.

When in doubt about the expressions just check the expressions with the objects at the bottom as they have all of them(especially system which has the math), if you don't have find the expressions in any of them that means that you have to create the appropriate object
adrix89
 
Posts: 42
Joined: Sat Mar 08, 2008 11:06 am


 • Print view • A/a

Return to Help / Tech Support

Who is online

Users browsing this forum: newt and 3 guests