YesNoOk
avatar

About the playerpush script (Read 244 times)

Started by idiotorange, October 28, 2014, 03:36:53 pm
Share this topic:
About the playerpush script
#1  October 28, 2014, 03:36:53 pm
    • China
    • polymercj@gmail.com
Hi guys.
I was trying to create a helper to block opponent from coming closer. In the state of the helper I defined playpush = 1 and give the helper a width. But opponent just walk through this helper as usual. One interesting thing was that after walking through, the helper could now stop the opponent from jumping back......

So what was going on....please help me out...
Thanks in advance.
Re: About the playerpush script
#2  October 28, 2014, 04:10:05 pm
  • ****
  • Hey.
    • Ukraine
    • mugencoder.com

  • Online
Your helper's animation has to have blue CLSNs on it so that it has something to clash with. In addition, PlayerPush is a non-persistent SCTRL that needs to active each tick to work. Here's an example:

Within the helper...
Code:
type = PlayerPush
trigger1 = 1
value =  1
ignorehitpause = 1

-[Все слова это только слова.]-
Re: About the playerpush script
#3  October 28, 2014, 09:10:56 pm
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
PlayerPush is enabled by default as long as you have CLSN2, so the existence of the SCTRL is not necessary.
Re: About the playerpush script
#4  October 29, 2014, 01:21:37 am
    • China
    • polymercj@gmail.com
Thanks for the advice~
In fact
Your helper's animation has to have blue CLSNs on it so that it has something to clash with. In addition, PlayerPush is a non-persistent SCTRL that needs to active each tick to work. Here's an example:

Within the helper...
Code:
type = PlayerPush
trigger1 = 1
value =  1
ignorehitpause = 1

Yes it did have a blue CLSN2 on the animation and script activated all the time.

PlayerPush is enabled by default as long as you have CLSN2, so the existence of the SCTRL is not necessary.

I deleted the state and it still happened.

Just changed physics of the helper from N to A and worked..............................

Anyway, problem solved~ thanks a lot~