How do I get a guilty verdict when the life bar is emptied?
Moderator: EN - Forum Moderators
- ShadowEdgeworth
- Posts: 4389
- Joined: Sun Jun 07, 2009 9:27 pm
- Gender: Male
- Spoken languages: English
- Location: The TARDIS
How do I get a guilty verdict when the life bar is emptied?
How can I get the Judge to announce a verdict when the life bar is empty?
Epic Rap Battles of AAO History: Meph VS Unas l Phoenix Wright VS Glase Canon l SuperGanondorf VS GotMLK7 l Mimi Mika VS Zeel1
Winner of the Golden Star Award 2010!
Creator of Commander Mika Cadenza and Admiral Kathryn Jayneway in Endless Time!
Currently RPing as The Doctor, Shadow The Hedgehog, and Spider-Man in Dimensional Chaos!
Currently RPing as Spider-Man and Black Cat in Crossover Central!
Creator of Alexis Calika in Vermillion Sunset and Alex Tazian in Final Warfare!
- Unas
- Admin / Site programmer
- Posts: 8850
- Joined: Tue Jul 10, 2007 4:43 pm
- Gender: Male
- Spoken languages: Français, English, Español
- Contact:
Re: How do I get a guilty verdict when the life bar is emptied?
There's an action to set a game over redirection : at the time it's executed, it sets the game over event to redirect to a particular message. So for example, use it at he beginning of your trial and put the id of your game over conversation's first message as parameter
- ShadowEdgeworth
- Posts: 4389
- Joined: Sun Jun 07, 2009 9:27 pm
- Gender: Male
- Spoken languages: English
- Location: The TARDIS
Re: How do I get a guilty verdict when the life bar is emptied?
Ah, thanks a lot!
Epic Rap Battles of AAO History: Meph VS Unas l Phoenix Wright VS Glase Canon l SuperGanondorf VS GotMLK7 l Mimi Mika VS Zeel1
Winner of the Golden Star Award 2010!
Creator of Commander Mika Cadenza and Admiral Kathryn Jayneway in Endless Time!
Currently RPing as The Doctor, Shadow The Hedgehog, and Spider-Man in Dimensional Chaos!
Currently RPing as Spider-Man and Black Cat in Crossover Central!
Creator of Alexis Calika in Vermillion Sunset and Alex Tazian in Final Warfare!
- 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: How do I get a guilty verdict when the life bar is empti
Wait a sec.
Is it done by using the eval function after every time the player loses hp, and if it hits 0, it redirects to the Game Over sequence? Do I have to label a set of messages as Game Over for the trial to redirect to the Game Over sequence?
Is it done by using the eval function after every time the player loses hp, and if it hits 0, it redirects to the Game Over sequence? Do I have to label a set of messages as Game Over for the trial to redirect to the Game Over sequence?
- henke37
- Security expert / tools programmer
- Posts: 3031
- Joined: Wed Mar 04, 2009 9:42 pm
- Gender: Male
- Spoken languages: Swedish,English
- Location: Sweden
- Contact:
Re: How do I get a guilty verdict when the life bar is empti
There is no "eval function". There is an action that sets a message to jump to when the hp runs out. It requires no expressions or anything, just the frame number to jump to.
Currently working on a redesign of Court-records.net.
-
- Posts: 10382
- Joined: Wed Jan 27, 2010 6:35 am
- Gender: Female
- Spoken languages: English: the only language I can brag about
Re: How do I get a guilty verdict when the life bar is empti
So... if you want a message that says you're guilty, you just use this function and skip to the message where the guilty thing happens?
- Unas
- Admin / Site programmer
- Posts: 8850
- Joined: Tue Jul 10, 2007 4:43 pm
- Gender: Male
- Spoken languages: Français, English, Español
- Contact:
Re: How do I get a guilty verdict when the life bar is empti
Basically, when your life bar reaches zero, there are two possibilities :
- If the game over redirection is currently not set (or set to 0), you have an instant game over.
- If the game over redirection is currently set to the ID of a frame, then the player is sent to this frame.
Also, when the action "Set game over redirection" is executed, the game over redirection takes the value indicated by this action.
The simplest way to use it, then, is to use that action at the beginning of your trial, and give it for value the id of the first frame of your game over conversation, just like you would do with "Skip directly to a frame", except that this will only happen when the player's life is 0.
- If the game over redirection is currently not set (or set to 0), you have an instant game over.
- If the game over redirection is currently set to the ID of a frame, then the player is sent to this frame.
Also, when the action "Set game over redirection" is executed, the game over redirection takes the value indicated by this action.
The simplest way to use it, then, is to use that action at the beginning of your trial, and give it for value the id of the first frame of your game over conversation, just like you would do with "Skip directly to a frame", except that this will only happen when the player's life is 0.
- 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: How do I get a guilty verdict when the life bar is empti
I see now. I had a hard time understanding what Henke meant but now I realize that "Set Game Over redirection" simply meant that it would activate the sequence the moment the HP hits zero. Thanks, guys.
-
- Posts: 10382
- Joined: Wed Jan 27, 2010 6:35 am
- Gender: Female
- Spoken languages: English: the only language I can brag about
Re: How do I get a guilty verdict when the life bar is empti
I understand it half way... but I guess the only way I can achieve this effect is to fool around with the trial player myself! Thanks for explaining though, Unas-sama!
- 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: How do I get a guilty verdict when the life bar is empti
Normally, when I play a case straight until the end (no saves,) I can get a custom guilty verdict (if the case has one.) How come, though, if I play from a save state, I get the standard "Game Over?"
-
- Moderator
- Posts: 7319
- Joined: Fri Sep 11, 2009 6:06 pm
- Gender: Female
- Spoken languages: ES/FR/EN/DE
- Location: Spain
- Contact:
Re: How do I get a guilty verdict when the life bar is empti
Are you sure? Mmhh...
I am going to try it out. If it is as you said, hen it is a bug to report.
EDIT: You are right. I shall notify this. Thank you for your help!
I am going to try it out. If it is as you said, hen it is a bug to report.
EDIT: You are right. I shall notify this. Thank you for your help!