Hello. I am making QTE using the transparent option button.
Code: Select all
; BUTTON FOR QTE FOR CONTINUOUS ATTACK.
; This is a transparent button. Not visible to the user.
@if QTE=="up"
@choice "W" button:MapButtons/att_UP_alpha0 pos:0,0 handler:ButtonArea goto:.QTE_att_succ
@choice "A" button:MapButtons/att_Left_alpha0 pos:-500,-100 handler:ButtonArea goto:.QTE_att_fail
@choice "S" button:MapButtons/att_Down_alpha0 pos:-500,-100 handler:ButtonArea goto:.QTE_att_fail
@choice "D" button:MapButtons/att_Right_alpha0 pos:500,-100 handler:ButtonArea goto:.QTE_att_fail
@elseIf QTE=="left"
@choice "W" button:MapButtons/att_UP_alpha0 pos:0,0 handler:ButtonArea goto:.QTE_att_fail
@choice "A" button:MapButtons/att_Left_alpha0 pos:-500,-100 handler:ButtonArea goto:.QTE_att_succ
@choice "S" button:MapButtons/att_Down_alpha0 pos:-500,-100 handler:ButtonArea goto:.QTE_att_fail
@choice "D" button:MapButtons/att_Right_alpha0 pos:500,-100 handler:ButtonArea goto:.QTE_att_fail
@elseIf QTE=="down"
@choice "W" button:MapButtons/att_UP_alpha0 pos:0,0 handler:ButtonArea goto:.QTE_att_fail
@choice "A" button:MapButtons/att_Left_alpha0 pos:-500,-100 handler:ButtonArea goto:.QTE_att_fail
@choice "S" button:MapButtons/att_Down_alpha0 pos:-500,-100 handler:ButtonArea goto:.QTE_att_succ
@choice "D" button:MapButtons/att_Right_alpha0 pos:500,-100 handler:ButtonArea goto:.QTE_att_fail
@elseIf QTE=="right"
@choice "W" button:MapButtons/att_UP_alpha0 pos:0,0 handler:ButtonArea goto:.QTE_att_fail
@choice "A" button:MapButtons/att_Left_alpha0 pos:-500,-100 handler:ButtonArea goto:.QTE_att_fail
@choice "S" button:MapButtons/att_Down_alpha0 pos:-500,-100 handler:ButtonArea goto:.QTE_att_fail
@choice "D" button:MapButtons/att_Right_alpha0 pos:500,-100 handler:ButtonArea goto:.QTE_att_succ
@endIf
@wait 1
@clearChoice
@goto .QTE_att_fail
@stop
However, the following error occurs in the @clearChoice part:
Naninovel script
battlegame
at line #161: Failed to clearButtonList
choice handler: handler actor with the provided ID doesn't exist.
UnityEngine.Debug:LogFormat (UnityEngine.LogType,UnityEngine.LogOption,UnityEngine.Object,string,object[])
I went through the manual and searched for forums, but I couldn't figure out a solution.
Is there a solution?