Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
how can a boolean return FALSE & TRUE at the same time ...:(

monika_5
Registered User
Quote
2021-05-09 06:54:44

lol oh my... this has stumped me for like 3 hours already! I am making the basic ugly menu for my game with my friend and everything was working okay until this:

https://ibb.co/ZSx895W

I printed the output and it goes false, then true, then BOTH!?

btw I will show how ugly my menu is haha... here is the "main menu":

https://ibb.co/5sCh6Y3

when I press the exit button I get this:

https://ibb.co/9wLWg9R

the no (yes button works!) button returns me to the main menu and then the exit button just stops working.

all my other screens have a back button and work fine.

the only thing I can think of is my back button is correct and here it is:

https://ibb.co/42VyG1s

my method of coding is to go with what works... so that back button architecture is looking mighty tempting... but I would like to know why that exit button function didn't work!?

>:P

P.S. I am enjoying the journey so far :)


VP
Guest
Quote
2021-05-09 14:27:18

Can you post the images please?


monika_5
Registered User
Quote
2021-05-09 16:56:07

@VP. I fixed the images. Sorry about that.


monika_5
Registered User
Quote
2021-05-09 22:05:53

lol all that copy and paste code distilled down to this today:

https://ibb.co/sv6J9Rk

lesson learned: rewriting is your friend.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internat?onal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact