- Joined
- Apr 25, 2016
- Messages
- 8
- Reaction score
- 0
- First Language
- French
- Primarily Uses
I have make an action sequence for the Attack command where actors/ennemis go in front of the target and attack. It's perfect for actors with melee weapons but not for actor with ranged weapons. So, how can I make that only actor with melee weapons go in front of the target for attack and actor with ranged weapons stay where they are for attack.
I'm sorry if you understand what I wrote ^^' and thank you if you have an idea or a solution.
(action sequence)
<setup action>
display action
immortal: targets, true
perform start
wait for movement
</setup action>
<target action>
motion wait: user
wait for movement
move user: target, front base, 30
wait for movement
wait: 10
motion attack: user
wait for movement
wait: 10
action animation
wait for animation
action effect: target
death break
</target action>
<finish action>
immortal: targets, false
clear battle log
perform finish
wait for movement
</finish action>
I'm sorry if you understand what I wrote ^^' and thank you if you have an idea or a solution.
(action sequence)
<setup action>
display action
immortal: targets, true
perform start
wait for movement
</setup action>
<target action>
motion wait: user
wait for movement
move user: target, front base, 30
wait for movement
wait: 10
motion attack: user
wait for movement
wait: 10
action animation
wait for animation
action effect: target
death break
</target action>
<finish action>
immortal: targets, false
clear battle log
perform finish
wait for movement
</finish action>
Last edited by a moderator:

