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 Profile Posts

Is RPG Maker VX (rgss2) still relevant? xD
ZyCHqk2.png

Something about top-downs.
I have never felt so attacked by a tree before :LZSlol: it took 10++ hours to make but at least it looks pretty LOL

Untitled-1.png
now seems like the worst time for me to need a better computer with how much stuff is costing. that and I don't thing there's much else I can do to make MV run any better with what I have.
Sigh... to have some variety in this weather. More than just sun and rain and wind and thunder.
In the meantime, I've discovered that I'm slowly becoming fatigued from the many sleepless nights my neighbors cause. Or at least their dogs. Always barking at something.
I might need a day to just sleep and recharge.

Forum statistics

Threads
118,455
Messages
1,116,107
Members
155,439
Latest member
anzooyama
Top