Tricks to a Cross-Examination

Find detailed help from the AAO community, or write your own tutorials.

Moderator: EN - Forum Moderators

User avatar
DLA
Posts: 2073
Joined: Wed Oct 12, 2011 12:14 am
Spoken languages: English, Spanish, a bit of French
Location: At the Grifter's Bone concert.

Re: Tricks to a Cross-Examination

Post by DLA »

So, in the press conversation for statement 1, I write pressx and 1, and for statement 2's press convo, I write pressx and 2?
Image
The Final but not so ending chapter.
User avatar
E.D.Revolution
Posts: 5743
Joined: Mon Jul 26, 2010 9:00 pm
Gender: Male
Spoken languages: English and decent Spanish
Location: Across dimensions, transcending universes

Re: Tricks to a Cross-Examination

Post by E.D.Revolution »

No, that's not a good idea. You're defining a variable as having two values. It's going to be impossible to escape a CE. Each variable needs to have one value, and only one value.

If you do it like this:
Statement 1's press convo gets pressx, define with value of 1.
Statement 2's press convo gets pressx, define with value of 2.
Evaluate function will check that "pressx=1 & pressx=2"
No matter if both of them are pressed, it will always read FALSE because you have to confunding values for the variable. Notice in bold that you have the same variable defined twice with two different values (in italics).

Variables have to be different. Values don't necessarily have to be different. Big difference.

Here's how to do it properly:

I use "x" as an example, x being the statement position number.

Statement 1's press convo gets press1, define with value of 1.
Statement 2's press convo gets press2, define with value of 1
Statement 3's press convo gets press3, define with value of 1.
etc.
Evaluate with "press1=1 & press2=1 & press3=1" etc.
Last edited by E.D.Revolution on Mon Mar 26, 2012 12:44 am, edited 1 time in total.
Image
User avatar
DLA
Posts: 2073
Joined: Wed Oct 12, 2011 12:14 am
Spoken languages: English, Spanish, a bit of French
Location: At the Grifter's Bone concert.

Re: Tricks to a Cross-Examination

Post by DLA »

Ah... Okay, thanks. By the way, is it optional to write it press1, press2, press3, etc or is it okay if I write it pressx?
Image
The Final but not so ending chapter.
User avatar
E.D.Revolution
Posts: 5743
Joined: Mon Jul 26, 2010 9:00 pm
Gender: Male
Spoken languages: English and decent Spanish
Location: Across dimensions, transcending universes

Re: Tricks to a Cross-Examination

Post by E.D.Revolution »

Go with the former (press1, press2, press3). It's easier to remember and script.

BTW, I think you need to read the guide more carefully if you're confusing what "pressx" means. I even said it many times that "x" is the statement number. Which means substitute the "x" with the statement number of the CE.
Image
User avatar
Martiniboy
Posts: 14
Joined: Mon Jul 09, 2012 2:30 am
Gender: Male
Spoken languages: English/Spanish

Re: Tricks to a Cross-Examination

Post by Martiniboy »

Help there is no evaluate bar. Just evaluate condition and read a variables value. I keep having problems please help.
Image

http://aceattorney.sparklin.org/jeu.php?id_proces=39319

Turnabout Suspicions: Sometimes the truth is the ugliest to handle
User avatar
Bad Player
Posts: 7228
Joined: Wed May 20, 2009 10:53 pm
Gender: Male
Spoken languages: American
Location: Under a bridge

Re: Tricks to a Cross-Examination

Post by Bad Player »

"Evaluate Condition", then there will be a bar next to "Expression" where you enter the stuff in.
User avatar
DKJustice1
Posts: 174
Joined: Fri Jun 29, 2012 1:44 pm
Gender: Female
Spoken languages: English

Re: Tricks to a Cross-Examination

Post by DKJustice1 »

If I may add something to this.. Great guide by the way.

If the trial skips over a frame it is best to check the script as there is a red line: This could be high up this red line needs to
be at the end of the cross examination unless you are asking that important question.

A tip is also to end it is to have the judge say ' That's enough' this seems to work rather well.

Beware of the red lines. Though!
Ace Attorney Poem.

What a crime is done.
Gumshoe's has come.
His name is Dick.
It's a point and click.


To find a clue
or maybe a few.
To made your point of view.

In the trial
where every one stares
the judge does glare.


Objections fly from everywhere!
lumine
Posts: 85
Joined: Tue Sep 10, 2013 11:28 pm
Gender: Male
Spoken languages: English

Re: Tricks to a Cross-Examination

Post by lumine »

I have a 'press all to continue' CE, and I have followed the snippet entirely. Instead of redirecting me to a frame after the CE like I hooked it to, it relinks me to the end of the Co-council conversation, with my Co-council character standing in front of the previous background frame...

This is really frustrating, to say the least.
User avatar
E.D.Revolution
Posts: 5743
Joined: Mon Jul 26, 2010 9:00 pm
Gender: Male
Spoken languages: English and decent Spanish
Location: Across dimensions, transcending universes

Re: Tricks to a Cross-Examination

Post by E.D.Revolution »

First, check all your variables in that CE to make sure you haven't misspelled it. Then, make sure you have given them a value of "1". Then, go through your evaluate condition frames. Again, make sure all your variables are spelled correctly and that you have used the "&" between each of the arguments in the condition. Then, make sure it redirects to the correct frame.

Usually, it's a mistyped variable.
Image
Phantom

Re: Tricks to a Cross-Examination

Post by Phantom »

^Example:
I made two press statements defined as 1) cepress1, and 2) cepress2

When evaluating, I type it like this:

cepress1 = 1 & cepress2 = 1

ED, can you confirm I did this right? I still don't have a clear grasp on vars so double checking me would be nice.
--------------------------------

[fill in the frame numbers of success and fails]
Last edited by Phantom on Mon Sep 16, 2013 4:55 am, edited 1 time in total.
User avatar
E.D.Revolution
Posts: 5743
Joined: Mon Jul 26, 2010 9:00 pm
Gender: Male
Spoken languages: English and decent Spanish
Location: Across dimensions, transcending universes

Re: Tricks to a Cross-Examination

Post by E.D.Revolution »

Nope.

cepress1 = 1 & cepress2 = 1
Image
Phantom

Re: Tricks to a Cross-Examination

Post by Phantom »

Thanks for the catch. Edited it to prevent confusion and to correct my mistake :P
destinysWalrus
Posts: 2
Joined: Tue Jan 22, 2013 2:10 am
Gender: Female
Spoken languages: English

Re: Tricks to a Cross-Examination

Post by destinysWalrus »

I'm not sure if anyone's still doing anything with this or what, but I do have something I wanted to ask.

Is it possible to make a cross-examination where, in order to continue, you need to object to every single statement? I suspect the answer is yes, but I'm not entirely sure how to go about doing it.

Apologies if this is a way terrible/late/whatever post.
User avatar
Enthalpy
Community Manager
Posts: 5169
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: Tricks to a Cross-Examination

Post by Enthalpy »

Something like that could be done, although I can't see the court allowing a testimony after three contradictions have been found under any circumstances.

This would be very similar to a press-all-to-continue cross-examination, with the only significant differences being where the commands go and what the redirect frames are. Use the "define a variable's value" action when the attorney explains each contradiction, and then at the end of each explanation, use "evaluate a condition" with contra1 = 1 & contra 2 = 1 & contra3 = 1 or something similar as your code. The "frame go to if success" should be where the player goes once all contradictions have been found, and "frame go to if failure" should lead to a blank frame with wait timer 1 immediately before the cross-examination.
[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
User avatar
E.D.Revolution
Posts: 5743
Joined: Mon Jul 26, 2010 9:00 pm
Gender: Male
Spoken languages: English and decent Spanish
Location: Across dimensions, transcending universes

Re: Tricks to a Cross-Examination

Post by E.D.Revolution »

Possible, but nigh impractical. I can see its uses for false contradictions, but, beyond that, why would you want to do that?

I can see this happening for very vague CEs (and even then, kept to fewer than 5 statements including reveal), but it becomes a pain for the author and it will become much more of a pain for the player. You also run into the problem of combinations of statements and evidence as shown here. In short, not recommended.
Image
Locked