# SFIII Gill Resurrection help (Read 3196 times)

Started by mixosh, September 18, 2020, 12:36:35 PM

#### mixosh

##### 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?

#### airforce111

##### Re: SFIII Gill Resurrection help
#2  September 18, 2020, 10:16:21 PM
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.

#### mixosh

##### 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?

#### airforce111

##### Re: SFIII Gill Resurrection help
#4  September 19, 2020, 07:26:43 PM
in state-2

Code:
`[State 0, VarSet]type = VarSettrigger1 = roundstate < 2v = 0     ;<--IMPORTANT! MAKE SURE THIS VAR NUMBER IS NOT USEDvalue = 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 = VarSettrigger1 = time = 1 ;<-- set var at beginning of state after 1 frame passesv = 0     ;<--IMPORTANT! MAKE SURE THIS VAR NUMBER IS NOT USEDvalue = 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.

#### beterhans

##### Re: SFIII Gill Resurrection help
#5  September 26, 2020, 01:20:30 PM
Now my Youtube Channel is my HomePage