I've had no real issues with setting up action sequences until I wanted to make one where the character charges in and hits the enemy on her way past them, then turns around to attack them from behind. I was under the impression that putting; face target: home and then face target: away from home would work, but every time I try that I get a "Reference Error, target is not defined." The same thing will happen if I use 'face user' instead of 'face target' and I'm trying to figure out why that is.
This is my action sequence that is giving me that much trouble, could someone please tell me what I'm doing wrong and why I am getting this error?
<Target Action>
move user: backward, 70, 30
face target: away from home
wait for movement
MOTION GUARD: user
wait for motion
motion walk: user
move user: target, front base, 5
wait for movement
motion attack: user
action animation
FLASH SCREEN: yellow, 60
shake screen: 3, 9, 30
wait for animation
action effect: target
death break
move user: target, back, 5
wait for movement
face target: home
wait for movement
motion attack: user
action animation
FLASH SCREEN: yellow, 60
shake screen: 3, 9, 30
wait for animation
action effect: target
death break
move user: target, front base, 5
wait for movement
face target: away from home
motion attack: user
action animation
FLASH SCREEN: yellow, 60
shake screen: 3, 9, 30
wait for animation
action effect: target
death break
</Target Action>
This is my action sequence that is giving me that much trouble, could someone please tell me what I'm doing wrong and why I am getting this error?
<Target Action>
move user: backward, 70, 30
face target: away from home
wait for movement
MOTION GUARD: user
wait for motion
motion walk: user
move user: target, front base, 5
wait for movement
motion attack: user
action animation
FLASH SCREEN: yellow, 60
shake screen: 3, 9, 30
wait for animation
action effect: target
death break
move user: target, back, 5
wait for movement
face target: home
wait for movement
motion attack: user
action animation
FLASH SCREEN: yellow, 60
shake screen: 3, 9, 30
wait for animation
action effect: target
death break
move user: target, front base, 5
wait for movement
face target: away from home
motion attack: user
action animation
FLASH SCREEN: yellow, 60
shake screen: 3, 9, 30
wait for animation
action effect: target
death break
</Target Action>