0 Favourites

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

This forum is currently in read-only mode.
  • 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.

    <img src="http://i26.tinypic.com/23i89s9.jpg">

    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?

  • 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.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • 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.

  • > 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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)