How to only show knockout actors in a show choices event?

maajkol

Warper
Member
Joined
Dec 6, 2021
Messages
3
Reaction score
3
First Language
dutch
Primarily Uses
RMMV
Hi i'm trying to make an NPC who can revive knocked out party members.
I was wondering if there was an easier way to show only knockout party members in a show choices event.
Right now i've solved it by having alot of IF statements for every possible combination.
 

eomereolsson

Veteran
Veteran
Joined
Sep 29, 2021
Messages
152
Reaction score
126
First Language
German
Primarily Uses
RMMV
I would make the NPC as follows:
Code:
...
If Actor 1 has state 1:
//Nothing
Else: hide_choice 1

If Actor 2 has state 1:
//Nothing
Else: hide_choice 2
...
ShowText: Who to heal?
Show Choice: Actor 1, Actor 2, ...
  Actor 1:
    RecoverAll: Actor 1
  Actor 2:
    Recover All: Actor 2
...
utilizing himework's hidden choice condition plugin (https://himeworks.com/2015/11/hidden-choice-conditions/)
If you have more than 6 actors you can also use himework' large choices plugin (https://himeworks.com/2015/10/large-choices-mv/).
 

maajkol

Warper
Member
Joined
Dec 6, 2021
Messages
3
Reaction score
3
First Language
dutch
Primarily Uses
RMMV
I would make the NPC as follows:
Code:
...
If Actor 1 has state 1:
//Nothing
Else: hide_choice 1

If Actor 2 has state 1:
//Nothing
Else: hide_choice 2
...
ShowText: Who to heal?
Show Choice: Actor 1, Actor 2, ...
  Actor 1:
    RecoverAll: Actor 1
  Actor 2:
    Recover All: Actor 2
...
utilizing himework's hidden choice condition plugin (https://himeworks.com/2015/11/hidden-choice-conditions/)
If you have more than 6 actors you can also use himework' large choices plugin (https://himeworks.com/2015/10/large-choices-mv/).

This is exactly what i was looking for. Thank you very much!
 

Latest Threads

Latest Posts

Latest Profile Posts

Should've seen this coming, but if I wanted players crafting equipment, I should also have a bestiary ready.

C'mon Marx, you played Monster Hunter...!
After a long absence I am back
Sigh gonna have to scrap a big thing for my battle system but that's fine, I can event it all just gonna take more time than I'd like. But that just leaves room for more cosmetic stuff so it's not the worst thing in the world.
Falling Crew1.png

the four main characters falling into a pocket dimension known as Escape Space.
Writing a game about my trauma and I want to do a level about struggling with my sexuality. It's a horror game and each level is different with a different monster chase but I have no idea how to go about this level any ideas?

Forum statistics

Threads
118,551
Messages
1,116,885
Members
155,588
Latest member
Pinnam
Top