Help with variables, pretty please!

Learn how to use AAO by reading tutorials, and seek help from the AAO community.

Modérateur: EN - Forum Moderators

Règles du forum

Help with variables, pretty please! 

Message par Negatious » Mer Nov 08, 2017 8:08 pm

:oops: I swear, I hate variables...O knowledgeable ones, please help me! :judge:

I`ve read through some of the guides regarding variables, but don`t seem to get it to work in my trial-at-works.
Specifically, I need help with a cross-examination where the player will need to press all the statements. Once that`s done, the game will proceed and allows the player to exit the cross-examination.

I tried doing the variables on each statement ( 5 in total ) according to The Common Way, as introduced in this guide: viewtopic.php?f=61&t=9514 , under the "Press-all-to-continue" segment.

I don`t know what am I doing wrong, here`re some screencaps from the CE in question:

I did this at the first statement of each press convo, when the defense yells "Hold it!", except that on latter convos of the same CE, the "press1" changes into "press2", "press3" and so on, corresponding to the number of where in the CE the statement and convo is located. 1 for the first convo, 2 for second and so on:

Large picture:
Spoiler : :
Image


This same setting is at the second last frame of each press convo. I don`t know what did I do wrong.

Also, the failure frame is outside the CE, is that done correctly or wrong?

Large picture:
Spoiler : :
Image


I`d truly appreciate some help, I just can`t seem to wrap my head around variables.
Hello! The name`s Negatious, a newbie at AAO! Nice to meet y`all!
Avatar de l’utilisateur
Negatious
 
Message(s) : 43
Inscription : Mer Mai 13, 2015 10:25 pm
Genre: Masculin
Langues parlées: English

Re: Help with variables, pretty please! 

Message par AceAttorneyMaster111 » Mer Nov 08, 2017 9:15 pm

What's not happening that you want to happen?
Image
Avatar de l’utilisateur
AceAttorneyMaster111
 
Message(s) : 418
Inscription : Sam Sep 27, 2014 6:46 pm
Localisation : Gun trained on you.
Genre: Masculin
Langues parlées: English, français, un poco de español, וקצת עברית

Re: Help with variables, pretty please! 

Message par Negatious » Mer Nov 08, 2017 10:18 pm

AceAttorneyMaster111 a écrit :What's not happening that you want to happen?


Basically, every time I enter the "Test for an expression`s value"- frame, it sends me to the failure frame immediately. Either that, when I go through all the statements, the variables do nothing.
Hello! The name`s Negatious, a newbie at AAO! Nice to meet y`all!
Avatar de l’utilisateur
Negatious
 
Message(s) : 43
Inscription : Mer Mai 13, 2015 10:25 pm
Genre: Masculin
Langues parlées: English

Re: Help with variables, pretty please! 

Message par AceAttorneyMaster111 » Mer Nov 08, 2017 10:20 pm

I might be wrong, but I think you need Advanced Mode on. I think it will allow you to type regular expressions like you are doing.
Image
Avatar de l’utilisateur
AceAttorneyMaster111
 
Message(s) : 418
Inscription : Sam Sep 27, 2014 6:46 pm
Localisation : Gun trained on you.
Genre: Masculin
Langues parlées: English, français, un poco de español, וקצת עברית

Re: Help with variables, pretty please! 

Message par Negatious » Mer Nov 08, 2017 11:06 pm

AceAttorneyMaster111 a écrit :I might be wrong, but I think you need Advanced Mode on. I think it will allow you to type regular expressions like you are doing.


Nope. Doesn`t help. Any other ideas?
Hello! The name`s Negatious, a newbie at AAO! Nice to meet y`all!
Avatar de l’utilisateur
Negatious
 
Message(s) : 43
Inscription : Mer Mai 13, 2015 10:25 pm
Genre: Masculin
Langues parlées: English

Re: Help with variables, pretty please! 

Message par 123fendas » Mer Nov 08, 2017 11:34 pm

You can probably use "Test an expression's value", but I do it with "Evaluate conditions to redirect the player" instead. Simply put "det01press1 + det01press2 + det01press3 + det01press4 + det01press5 = 5" in "Expression to test" if there are five statements that the player needs to press. This video may help.
eastmost peninsula is the secret
Avatar de l’utilisateur
123fendas
 
Message(s) : 220
Inscription : Sam Mars 07, 2015 12:02 pm
Genre: Masculin
Langues parlées: Svenska, English

Re: Help with variables, pretty please! 

Message par Negatious » Jeu Nov 09, 2017 12:27 am

123fendas a écrit :You can probably use "Test an expression's value", but I do it with "Evaluate conditions to redirect the player" instead. Simply put "det01press1 + det01press2 + det01press3 + det01press4 + det01press5 = 5" in "Expression to test" if there are five statements that the player needs to press. This video may help.


I did as you wrote and the video showed, but when I reach the "Evaluate conditions to redirect", it just goes to the "The End"- screen instantly.
Hmm.
Hello! The name`s Negatious, a newbie at AAO! Nice to meet y`all!
Avatar de l’utilisateur
Negatious
 
Message(s) : 43
Inscription : Mer Mai 13, 2015 10:25 pm
Genre: Masculin
Langues parlées: English

Re: Help with variables, pretty please! 

Message par Negatious » Jeu Nov 09, 2017 1:18 am

Negatious a écrit :
123fendas a écrit :You can probably use "Test an expression's value", but I do it with "Evaluate conditions to redirect the player" instead. Simply put "det01press1 + det01press2 + det01press3 + det01press4 + det01press5 = 5" in "Expression to test" if there are five statements that the player needs to press. This video may help.


I did as you wrote and the video showed, but when I reach the "Evaluate conditions to redirect", it just goes to the "The End"- screen instantly.
Hmm.


EDIT: It works now, I'm just a doofus and forgot to put the failure frames in place after the condition evaluation ones...heh.
Thanks for the help, everyone!
Hello! The name`s Negatious, a newbie at AAO! Nice to meet y`all!
Avatar de l’utilisateur
Negatious
 
Message(s) : 43
Inscription : Mer Mai 13, 2015 10:25 pm
Genre: Masculin
Langues parlées: English


Retour vers Help and Support

Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 1 invité