Clickteam Fusion 2.5

Clickteam Fusion 2.5

Rejomei Jun 8, 2017 @ 9:29pm
"Too many open brackets"???
Ok, so for some odd reason the program let me get away with this command before, but now it won't let me do it because "too many open brackets"

The command in question is:
Counter ( "value set to an object A" )

Sorry I don't remember what the value thing is called on objects at the moment, but it's a lot like a global value but on any one object.
The issue I'm running into is honestly that I have "too many open brackets" but... I thought that doing (this) meant they were closed.
The first time I tried this command it aparently worked because I have it saved as working within the program itself, but now it doesn't want to work and Idk how I got it to work nor why it's not working now.

The full command is as follows:
~ Always
~ Set Counter Hunger to Current Value of Object Attribute Hunger <--- Command with issue
~ Set Global Value Hunger to Current Value of Counter Hunger.

(The looping everything into each other thing seems to work as long as I can get that one command to work, If needed I can likely get rid of the object values in the loop and just go from there, but I'm wondering if there is any way I can end up keeping them)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Also, completely unrealted but, I totally posted this in the App Game Kit Discussions section originally >_< (hopefully deleted it before anyone saw it xD)
Shows how tired I am...
Gonna go to bed now before I try asking game discussion boards how to create a game in Clickteam Fusion 2.5 xD
I'll read any responces to this thread tomorrow after I wake up.
Last edited by Rejomei; Jun 8, 2017 @ 9:30pm
< >
Showing 1-2 of 2 comments
Wodjanoi Jun 9, 2017 @ 1:11am 
You can't use Global Values and Alterable Values with the same name. If you already set the name of a Global Value to 'Hunger' you can't use 'Hunger' for an Alterable Value.
When you set the name for a Global Value first, you will get an error as soon as you try to give an Alterable Value the same name. You don't see this error when you set the name of an Alterable Value first and then set the same name for a Global Value though. You can set the name of your Alterable Value to _Hunger for example - this will fix your expression problem.
Rejomei Jun 9, 2017 @ 9:25am 
Oh!
Seems so silly that I didn't realize that was the issue xD
But I guess from a programming point of view it should be obvious.
Thanks, I'll change up the names :D

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Update:
I just changed the names and that completely got rid of the issues I was having, thank you so much! :D
Last edited by Rejomei; Jun 9, 2017 @ 10:05am
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jun 8, 2017 @ 9:29pm
Posts: 2