About the playerpush script

Started by idiotorange, October 28, 2014, 03:36:53 PM

Previous topic - Next topic

idiotorange

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.

Алексей

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...

type = PlayerPush
trigger1 = 1
value =  1
ignorehitpause = 1

-[Все слова это только слова.]-

Jesuszilla

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

idiotorange

Thanks for the advice~
In fact
Quote from: Алексей on October 28, 2014, 04:10:05 PM
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...

type = PlayerPush
trigger1 = 1
value =  1
ignorehitpause = 1


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

Quote from: Jesuszilla on October 28, 2014, 09:10:56 PM
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~