YesNoOk
avatar

Special moves (Read 2852 times)

Started by demovv, May 27, 2017, 07:47:07 pm
Share this topic:
Special moves
#1  May 27, 2017, 07:47:07 pm
  • avatar
  • *
    • Poland
Hello,
Does anyone know how to make a special move that could be used once per round?
Re: Special moves
#2  May 27, 2017, 08:10:46 pm
  • **
  • 6A6A6A6A6A6A6A6A6A
    • USA
Put a VarSet code in this special attack's state that sets it to 1. In state -2, put this:

[State 0, VarSet]
type = VarSet
trigger1 = roundstate != 2
v = -your value-
value = 0

Then, put "triggerall = var(-your value-) = 0" in this special attack's command.
Re: Special moves
#3  May 27, 2017, 09:16:00 pm
  • avatar
  • *
    • Poland
Put a VarSet code in this special attack's state that sets it to 1. In state -2, put this:

[State 0, VarSet]
type = VarSet
trigger1 = roundstate != 2
v = -your value-
value = 0

Then, put "triggerall = var(-your value-) = 0" in this special attack's command.

Can you explain more precisely, I'm a little confused.
Re: Special moves
#4  May 27, 2017, 09:21:01 pm
  • **
  • 6A6A6A6A6A6A6A6A6A
    • USA
Re: Special moves
#5  May 27, 2017, 09:31:22 pm
  • avatar
  • *
    • Poland
Re: Special moves
#6  May 27, 2017, 09:34:13 pm
  • **
  • 6A6A6A6A6A6A6A6A6A
    • USA
What exactly do you not understand?

This parts
Put a VarSet code in this special attack's state that sets it to 1. In state -2, put this:

Oh. Well, put this:

[State 0, VarSet]
type = VarSet
trigger1 = time = 0
v = -your value-
value = 1

In special attack's state. By "your value", I mean whatever variable is not used in order to avoid conflicts. Look through your character's files to find out which are not used yet.
State -2 is literally that. Look for [Statedef -2] in your character's files.
Re: Special moves
#7  May 27, 2017, 09:55:29 pm
  • avatar
  • *
    • Poland
Oh, thank you so much for your help. It works :D
Re: Special moves
#8  November 25, 2017, 12:39:46 am
  • avatar
  • *
    • Poland
I have one more question. How to make a special move that could be used for example six times per round?