Hi all, currently i use sequence input plugin :
http://sumrndm.site/sequence-input/ in my combat sistem, but i wanna use it for a choice attack. For example, when the actor attack, the system wait for input button [up,down,left,right] and the actor attack based on what user input ex: up for upper slash, down for heavy slash etc.
this is my approach to make those combat
Spoiler: sequence
<setup action>
clear battle log
display action
immortal: targets, true
perform start
wait for movement
cast animation
wait for animation
</setup action>
<Whole Action>
move user: targets, front, 20
</Whole Action>
<target action>
wait for movement
start sequence input: down, 2
start sequence input: up, 3
wait for sequence input: maxFrames
end sequence input
if $gameVariables.value(2) > 10
animation 1: user
wait for animation
camera focus: target, center, 10
zoom: 105%, 10
wait for zoom
motion attack: user
wait: 10
attack animation: target
face user: target
wait for animation
action effect: target
death break
else if $gameVariables.value(3) > 10
animation 2: user
wait for animation
motion attack: user
wait: 10
attack animation: target
face user: target
wait for animation
action effect: target
death break
end
</target action>
<follow action>
immortal: targets, false
reset zoom: 10
wait for camera
camera clamp on
</follow action>
<finish action>
immortal: targets, false
wait for new line
clear battle log
perform finish
wait for movement
wait for effect
</finish action>
but system only read on last sequence input (up button), can someone help me with this? thanks before