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
543
Reaction score
462
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

For some reason a vegan webpage was suggested for me on FB. So I thought let's troll them. Because some of the posters needed a reality check.
I intended to start losing some weight starting today but It's apparently my birthday and I was given 2 big Toblerone's. So....Tomorrow then :p
JR.png
design for 1920's Jazz-singer
(can you guess what character inspired me here? xD )
Another brief AD video. Pretty proud of this.
new to game making and open to any help on getting started

Forum statistics

Threads
129,821
Messages
1,205,503
Members
170,943
Latest member
MikeC_
Top