YesNoOk
avatar

SFIII Gill Resurrection help (Read 7416 times)

Started by mixosh, September 18, 2020, 12:36:35 pm
Share this topic:
SFIII Gill Resurrection help
#1  September 18, 2020, 12:36:35 pm
  • **
  • Life Down Here is Just a Strange Illusion
Hey guys

I'm using GM's Gill and he resurrects every time he has enough energy. I want to limit that to only one usage per round...

Is there a way to make GILL's resurrection happen only once a round?
Re: SFIII Gill Resurrection help
#2  September 18, 2020, 10:16:21 pm
  • avatar
  • **
    • USA
Set a var to 0 when roundstate does not equal 2, and then in the resurrect state set that same var to 1.  in -2 there is probably a statedef telling it to resurrect at certain energy, just add a new trigger that the var has to be 0 and roundstate has to be 2. Which means if resurrect already happened once during the fight, it can't happen again.
Re: SFIII Gill Resurrection help
#3  September 19, 2020, 10:22:08 am
  • **
  • Life Down Here is Just a Strange Illusion
Set a var to 0 when roundstate does not equal 2, and then in the resurrect state set that same var to 1.  in -2 there is probably a statedef telling it to resurrect at certain energy, just add a new trigger that the var has to be 0 and roundstate has to be 2. Which means if resurrect already happened once during the fight, it can't happen again.

can you show me how to do these things?
Re: SFIII Gill Resurrection help
#4  September 19, 2020, 07:26:43 pm
  • avatar
  • **
    • USA
in state-2

Code:
[State 0, VarSet]
type = VarSet
trigger1 = roundstate < 2
v = 0     ;<--IMPORTANT! MAKE SURE THIS VAR NUMBER IS NOT USED
value = 0

for example the above sets var(0) to 0 before the actual fight

then idk how the character is like, but find the ressurection statedef and put the same thing but now you set the var to 1

Code:
[State 0, VarSet]
type = VarSet
trigger1 = time = 1 ;<-- set var at beginning of state after 1 frame passes
v = 0     ;<--IMPORTANT! MAKE SURE THIS VAR NUMBER IS NOT USED
value = 1 ;<--this has been set to 1

now you just have to find the code where it's triggering the ressurect to happen (most likely in the -2 state), its most likely a changestate or something. when you do, just add the triggerall:

triggerall = var(0)=0 && roundstate = 2

just remember thats just an example, make sure to choose a var (1 thorough 59) that isnt used and set it. should be something like that.
Re: SFIII Gill Resurrection help
#5  September 26, 2020, 01:20:30 pm
  • ****