Page 1 of 1

Anti Shark? not for ladder

Posted: Fri Feb 27, 2009 5:50 pm
by Tazz
Hey again guys...im needing some help on how to make an anti shark for m3l3....on that map theres a bed in a 2nd floor room on the town side and in the sw corner of the bed if u run into it and jump u can get over that wall and under the map....i want to make a trigger that doesnt let u jump there and prints out ur trying to jump on the bed or something like that....we had it done before when someone else had the server but want to do it again...i know i could just clip over the bed but i wanted to do the no jumping thing instead this way people wont try to get over the clip too


thx in advance


Tazz

Posted: Fri Feb 27, 2009 6:10 pm
by $oldier Of Ra
Just put a clip there. Simply stop it.

This is a clip, no player entity can penitrate it.

Code: Select all

local.o = spawn script_origin
local.o.origin = ( X Y Z )
local.o setsize ( -S -E -D ) ( N W U )  // South East Down (must be negative); North West Up (must be positive)
local.o solid
Determine the setsize to it covers the area you want it to. Now no one will be able to go through it.