is this possible?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

is this possible?

Post by Tazz »

Ok guys and gals....im wondering if it is possible to push someone at another angle than up....i have used push triggers before to get up on a ledge or over a wall but is it possible to say push someone backwards or forwards...left or right basically...or upwards at an angle instead of straight up?......
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post by Tazz »

ok i want to make sure im reading this right


u r saying that if i make a box and give it a targetname of pusharea then a setsize that i will be able to push a player in any direction within that set box?....being it straight up sideways or diagonally?

and if i dont want to have to be touching or anything within the box just do not spawn anything in there and it will work all the time??

i thinks that what i read
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

Direction: the way you're looking. But if you decide you don't want "push-specific" area, do not make such boxes, in that case you will be able to push players everywhere in the map. The boxes are only to restrict players from pushing each other where it's not needed (= open spaces).

The script'll automatically check for that targetname, if it finds one, it'll switch to the restriction mode (= only if touching or within the boxes, pushing is possible) and if it finds none, it'll switch to open mode (= push anywhere at any time.)
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Why don't you just use a trigger_multiple (or trigger_multipleall) and give your players some velocity?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply