Boolean Issues
Copy link to clipboard
Copied
Hi, I'm having an issue with my code as I need to change part of it into a list of boolean true or false statements.
The Problem area of the code that I've been told needs the boolean is the boxed in section (in red - sorry about the big image).
Basically they all trigger a Hit Area/animation. However only the bottom one in the code actually works due to the way it's been written. I just have absolutley no clue how to put a boolean insteaf of the "if" statements and how it would be worded.
I was also told to follow this kind of flow chart (which i'm also having difficulty making sense of) so if anyone has any suggestions or could offer any advice I would greatly appreciate it.
Flow Chart (please forgive the bad use of punctuation):
Hit something = "movement" (my default animation)
/ |
String Var |
Go through list of hit areas
|
Did it hit "This one"? (example)
/ | | Ignore & go back
Yes No -----|
/
Hit Something = "frame Label" or "Name of thing/animation"
The Code:
(Thankyou anybody willing to put aside their time to try and help me with this/simply reading all of this)
Copy link to clipboard
Copied
I personally cannot see a thing in the image. Why not to just post the code (preferably using code highlight feature).
Copy link to clipboard
Copied
Hi, yeah sorry about that I didn't notice the image had been compressed - I had put the code in an image to save time typing it all out (because I'm new on here and can't seem to paste text) I'll type the code out soon.
Again, apologies and thankyou for pointing it out.
![](/skins/images/485AC9F9CE1C6A0A80025EEAA20C4339/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/485AC9F9CE1C6A0A80025EEAA20C4339/responsive_peak/images/icon_anonymous_message.png)