I am working on a fighting game.
And I'm trying to make that a choice will be removed after defeating say monster
I have tried many combinations but non-works ):
Maybe there is a way I can trigger choice with code?
Then I can use if else
*This page is the page where you pick who to fight against
First IF where all is true
https://ibb.co/BZVH9wy
Second IF where 1 have been defeated
https://ibb.co/FbMNYCg
Note that on the second IF the CHOICE doesn't have Nian/Dusk as an option because Monster 1 is false
[EOS HELP] How can I use many IF with different CHOICE each round
-
- Explorer At Heart
- Posts: 266
- Joined: Thu Jan 03, 2013 4:55 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: [EOS HELP] How can I use many IF with different CHOICE each round
Would be easier having the whole script under hand, but is //Nian/Dusk the name of a bool variable? Because currently you you are ANDing the trueness of Monster1 with //Nian/Dusk, which I'm quite positive is a comment, not a variable name. Moreover, I think it may be a lot easier to create only a single choice action and disabling the buttons of the defeated monsters. You can set button visibility at the bottom of the choice action. So if I understand correctly you could set the Nian/Dusk visibility equal to !Monster1 (NOT Monster1)Epton wrote: ↑Mon Jul 04, 2022 6:04 pm I am working on a fighting game.
And I'm trying to make that a choice will be removed after defeating say monster
I have tried many combinations but non-works ):
Maybe there is a way I can trigger choice with code?
Then I can use if else
*This page is the page where you pick who to fight against
First IF where all is true
https://ibb.co/BZVH9wy
Second IF where 1 have been defeated
https://ibb.co/FbMNYCg
Note that on the second IF the CHOICE doesn't have Nian/Dusk as an option because Monster 1 is false
-
- Explorer
- Posts: 96
- Joined: Sat Aug 24, 2019 11:42 am
- Gender: Male
- Location: Germany
Re: [EOS HELP] How can I use many IF with different CHOICE each round
The options of a choice-action can be conditional. Just enable the "eval" switch at the bottom.
In the following example the button "Nian/Dusk" is only available when the variable Monster1 is true:
Re: [EOS HELP] How can I use many IF with different CHOICE each round
Thanks for in inputs guys
It was lot of help I got it
It was lot of help I got it
Who is online
Users browsing this forum: No registered users and 6 guests