Code:
Problem description: How can be maked a push people system? I searched here in byond about push people but i didn't find anithing, i will explain it more, if a player looks to another player and move to he if Player 1 are on 1,y,z and Player 2 are on 2,y,z and Player 1 moves up and pushes Player 2 from 2,y,z to 3,y,z
ID:1104861
Dec 30 2012, 7:45 am (Edited on Dec 30 2012, 10:28 am)
(See the best response by NNAAAAHH.)
|
|
Dec 30 2012, 8:39 am
|
|
Look into Bump() and step() in the reference.
|
ok NNAAAAHH answer is very good, but in this demo you move the enemy with verb, how i get push the enemy only walking to he?
mob |
mob Assuming you only want to push players away. EDIT: My version above is not ideal since it just makes the person step away from the user in almost any direction. mob This one is better if you're looking for Cow RP style pushing. |
Ok if someone more need the code for push is this.
mob Real code owner : Goten84, PushTechniqueDemo |