Push Region

Big Lou

L3: Member
Mar 17, 2008
120
27
I was wondering what I should use to force a player off the side of a platform similar to the map cp_falling. I want it to push you out and not let you in.

I'm using trigger_push but it doesn't seem to do anything.

Any help would be appreciated!
 

Big Lou

L3: Member
Mar 17, 2008
120
27
I do, but it still doesn't seem to do anything. Perhaps it's the direction of the push...

How do I know for sure which axis control which direction? I try to use the "point at" feature, but that doesn't change anything.
 

bob+M|M+

L6: Sharp Member
Mar 31, 2008
346
394
the easiest way to control the direction is to spin the black circle at the top right of the entity properties window. The direction correlates with the orientation in the "top" view of the 2D window. Also I don't think you can make the push go vertically and horizontally at the same time, so if you want to do that, you'll have to use multiple trigger_push. hope that helps.
 

Big Lou

L3: Member
Mar 17, 2008
120
27
It did help, I got the direction how I wanted but still had another problem. Fortunately, I figured it out myself. It seems only the "center" of the push trigger will actually push you, so instead of one very long push trigger, I made many small ones lined up in a row. That way you will always touch a "center" of a push trigger no matter where you are on the edge of the platform.

Thanks, Bob, for your help!
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
thats not the right way to do it, you just need to make one with a higher pushing force, perhaps into the thousands to get the required force.
 

Big Lou

L3: Member
Mar 17, 2008
120
27
Actually, I boosted it into the thousands... and it still had the same results. I'm sticking with the segmented push regions as they work absolutely perfectly and I don't need to fix what ain't broke!
 

AWESOME-O

L10: Glamorous Member
Mar 20, 2008
779
132
I think one push trigger is better because it saves compile time.