How Can let a chose 2 if then goto different ways

Discuss authoring naninovel scenario scripts.
Post Reply
naktim
Posts: 4
Joined: 21 Mar 2021 08:31

How Can let a chose 2 if then goto different ways

Post by naktim »

if I have a chose it's need
it's needs to follow BathRoom_status
Come and go different fields go to
Am i wrong
I never know why I failed

@choice 浴室 goto .BATHROOM_girl01 if:"BathRoom_status > 1" goto .BATHROOM if:"BathRoom_status = 1 "

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: How Can let a chose 2 if then goto different ways

Post by idaot »

Hello, there are several ways to branch out based on a single choice.

Option 1: Conditional execution after making a choice
@choice 浴室 goto:.BATHROOM
#BATHROOM
@goto .BATHROOM_girl if:"BathRoom_status > 1"
(If check fails, continue the bathroom script without girl here)

Option 2: Show one button depending on the condition:
@choice 浴室 goto: .BATHROOM_girl if:"BathRoom_status > 1"
@choice 浴室 goto: .BATHROOM if:"BathRoom_status = 1 "

There are more, but these are some of the most straightforward ones.

naktim
Posts: 4
Joined: 21 Mar 2021 08:31

Re: How Can let a chose 2 if then goto different ways

Post by naktim »

OK thanks!

I will write it in two lines!
Thank you very much!!
I always thought it could be written together

thank you very much
I have been changing the format and testing for a whole night
So stupid !!
Thanks !!!!

Post Reply