Hello.

Please help me...!!

I use combatant selection in a menu screen.
1) I made a menu screen and added a Button List.
2) I added a Menu Item to the Button List, and selected type "Menu Screen", and checked "Select Combatant" checkbox.
3) I tried to delete selected combatant in next screen, but it not work.
- In the next screen, I could see some status of the combatant selected.
- I tried to show dialog and when select "Yes" a schematics run.
- In the schematics, I tried to delete "Selected Object" but it not work.

How should I do to get the ID of selected combatant, or selected combatant information
to delete combatant??

  • You mean remove the combatant from the group?
    There's the Leave Group node for that in schematics.

    Which menu part are you using in that menu screen and how is the schematic started?
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you very much for your support.

    I want to remove a combatant, and I tried with using the Leave Group node.
    But it didn't work.

    In my first screen I used Button List, and the Type pulldown of the button item is set to "Menu Screen".
    Menu Screen pulldown is set the second screen.
    Select Combatant checkbox is checked.

    In debug mode, I select the button, the combatant select box was shown,
    and I select the combatant to delete, second screen was opened.

    In second screen, I use a Button List which have Yes/No Button.
    The Yes button is set to execute schematics.

    In the schematics, I use "Leave Group" node first.
    Group Origin pulldown was set to "Active Player Group".
    Object pulldown was set to "Selected Object".
    But it didn't work. The combatant I selected was remain.
  • The problem was solved !

    On the "Leave Group" node I set Combatant Object pulldown to "Starting Object".

    Thank you very much.
  • Exactly, the menu user is available as Machine Object and Starting Object of the schematic started via the button list.
    The Selected Object is something completely different and not set automatically.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.