YesNoOk
avatar

Avoid to turn player 2 (Read 1166 times)

Started by daraku, November 18, 2017, 01:20:58 pm
Share this topic:
Avoid to turn player 2
#1  November 18, 2017, 01:20:58 pm
  • **
When i perform an hyper i would the p2 will be always faced to the p1 for all time during the hyper move. But he turned when the p1 go on the left on him. I tried with facep2 = 1, but it don't work. I use Winmugen

; aircraft in action
[Statedef 3201]
type    = S
movetype= A
physics = N
juggle  = 1
velset = 3,0
anim = 3201
ctrl = 0
facep2 = 1
sprpriority = 3
Re: Avoid to turn player 2
#2  November 19, 2017, 04:29:14 am
  • ****
  • Robotics Engineer
    • USA
    • altoiddealer@gmail.com
The StateDef parameter only affects the 1st tick of the state.

I'm not familiar with WinMugen but you probably just need to use:

Type = AssertSpecial
trigger1 = 1
flag = NoAutoTurn

Type = Turn
trigger1 = enemy,facing = facing

Re: Avoid to turn player 2
#3  November 20, 2017, 07:07:52 pm
  • **
The StateDef parameter only affects the 1st tick of the state.

I'm not familiar with WinMugen but you probably just need to use:

Type = AssertSpecial
trigger1 = 1
flag = NoAutoTurn

Type = Turn
trigger1 = enemy,facing = facing

It doesn't work  :(
Last Edit: November 21, 2017, 12:10:17 am by daraku
Re: Avoid to turn player 2
#4  November 22, 2017, 01:14:55 am
  • ****
  • Robotics Engineer
    • USA
    • altoiddealer@gmail.com
Well, it would certainly do the trick in 1.0

Hopeully someone knowledgeable with WinMugen will drop by and help you out

ink

Re: Avoid to turn player 2
#5  November 22, 2017, 01:29:45 am
  • ****
  • inktrebuchet
    • USA
    • s236.photobucket.com/albums/ff271/inktrebuchet/?
Is player 2 in a custom state during this hyper move?

Re: Avoid to turn player 2
#6  November 23, 2017, 05:14:26 pm
  • **
Re: Avoid to turn player 2
#7  November 23, 2017, 06:14:12 pm
  • ****
  • Robotics Engineer
    • USA
    • altoiddealer@gmail.com
If P2 is not in a custom state, then P2 should continue facing P1.

Unless, P1 is turned invisible and an Explod of P1 moves across the screen in which case P2 will continue to face the invisible P1

Re: Avoid to turn player 2
#8  November 23, 2017, 06:51:45 pm
  • **
The aircraft came from left to right, the player2 should faced always the aircraft, but he turned when the aircraft goes close to him

Re: Avoid to turn player 2
#9  November 23, 2017, 07:13:09 pm
  • *
Is the said Aircraft a helper ? If yes it normally shouldnt autoturn...
If not, try making p1 invisible and putting the aircraft a helper instead of making the player become the aircraft.
I think thats why it is autoturning...
Or you could put p2 in a custom state where u disable autoturn...
Re: Avoid to turn player 2
#10  November 23, 2017, 07:26:19 pm
  • **
Is the said Aircraft a helper ? If yes it normally shouldnt autoturn...
If not, try making p1 invisible and putting the aircraft a helper instead of making the player become the aircraft.
I think thats why it is autoturning...
Or you could put p2 in a custom state where u disable autoturn...

Yea, thanks! The aircraft isn't an helper, it's the player!
Re: Avoid to turn player 2
#11  November 23, 2017, 07:43:54 pm
  • *
Oh... You're welcome !
I didnt actually think that would be the right answer lol...
Dont forget to make the post solved.

PS: dont forget to add NotHitBy while p1 is invisible
Last Edit: November 23, 2017, 07:48:39 pm by nissouma55