[E] Pass variables to next trial in sequence

Post about what you like and dislike on AAO and suggest new features and improvements.

Moderator: EN - Forum Moderators

Post Reply
User avatar
TimeAxis
Posts: 389
Joined: Fri Jan 01, 2021 8:27 pm
Spoken languages: English
Contact:

[E] Pass variables to next trial in sequence

Post by TimeAxis »

The idea is to have an action in the "Set Action" menu under the "Manage variables" header labeled "Pass variable to next trial", which would allow you to enter a name and value of variables (and add multiple), just like the "Define new variables" action, except instead of being saved as variables in this trial, these would be appended to the URL of the next trial in the sequence (if one exists), and then they would be read and defined as variables at the beginning of that one.

Using the URL seems like the most straight-forward way to accomplish this, although I don't know much of how sequences work so I don't know what mechanism causes one trial to redirect to the next. But this would likely have to be implemented in coordination with whatever that mechanism is. Maybe it could work by creating and loading a save file prior to the trial with said variables included.

The purpose of this would be to allow for non-linearity to persist between trials in a sequence. You could, for example, have a choice early on in the investigation on Day 1 affect a scene on the Trial of Day 3, while still being able to split up the trial for performance. Another example would be to have a bunch of hidden scenes or collectibles throughout all the trials in a sequence, and then a tally in the final one telling you how many you obtained, and grading you for it. The possibilities seem fairly obvious, so the only question is whether or not it's feasible to implement.
Image
Question Arcs (Threads Coming Eventually)
ImageImageImageImage
Gaiden Episodes
Champion of Turnabouts ★
HALLOWEEN HERO
Other
Phoenix Wright: Ace Attornauts
The Curious Case of the Phantom Limousine (Coming Eventually)
The Imposter's Turnabout (Coming Maybe)
User avatar
Enthalpy
Community Manager
Posts: 5169
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Pass variables to next trial in sequence

Post by Enthalpy »

Why isn't "End the game -> Go to another part of the series -> Data to transfer: variables" enough for this case?

Unfortunately, I don't expect to have much time for AAO for at least another month (hopefully that'll be the end of it), so development progress will be slow until then.
[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
TimeAxis
Posts: 389
Joined: Fri Jan 01, 2021 8:27 pm
Spoken languages: English
Contact:

Re: [E] Pass variables to next trial in sequence

Post by TimeAxis »

I actually was not aware of that feature. If that already exists, then you can consider this suggestion already resolved.
Image
Question Arcs (Threads Coming Eventually)
ImageImageImageImage
Gaiden Episodes
Champion of Turnabouts ★
HALLOWEEN HERO
Other
Phoenix Wright: Ace Attornauts
The Curious Case of the Phantom Limousine (Coming Eventually)
The Imposter's Turnabout (Coming Maybe)
Post Reply