Page 1 of 1
ladder
Posted: Thu Jul 22, 2004 12:56 pm
by At0miC
How to make a func_ladder able so a player can only use the ladder by pressing the use buttom, not by walking to it.
Posted: Thu Jul 22, 2004 1:01 pm
by bdbodger
Never heard of anyone wanting to do that before . Just a guess but what about a trigger use covering the ladder that targets the ladder and a script like this
the trigger has a key setthread and value mythread
mythread:
local.player = parm.other
local.player use(self.target)
end
I don't think it will work but I don't know maybe it will .
Posted: Thu Jul 22, 2004 1:19 pm
by M&M
out of plain curiosity ,but why? whats wrong with walking to it ? much faster .
is there anyway to disable a func_ladder thru script? (like disabling spawn points)
if there is u could make it disabled and enable it only when used (trigger_use)
Posted: Thu Jul 22, 2004 8:52 pm
by lizardkid
why? a aldder is almost always accessable. destroy it if you don't want it anymore.
dunno about the use thing.
Posted: Thu Jul 22, 2004 9:28 pm
by At0miC
The reason why I want this is:
I got a traincar and I want to make a ladder at the outside so you can climb on it, but the space were the ladder will be is not much, because you can also walk at the outside of the traincar, there as a very small path, so when u want to walk on this path, you will hit the ladder, but sometimes u dont want to use the ladder

you know what I mean?
(You cant get of the traincar)
Posted: Thu Jul 22, 2004 11:26 pm
by hogleg
How about some cheese with that whine!
Sry atomic can't help w/that 1.
Posted: Fri Jul 23, 2004 4:00 am
by Random
hogleg wrote:How about some cheese with that whine!
ahheemmm,
Well atomic i see why you would want to do this but there is one small problem with this approach, anti landshark cheats. In effect they kill anyone that tries to hit the use key while trying to climb a ladder. Now that could be problematic.
Random
Posted: Fri Jul 23, 2004 8:22 am
by M&M
whats wrong with jumping of the ladder? u climb it ,then jump of in the direction u were going
or u can always make alittle more room

.
if there is u could make it disabled and enable it only when used (trigger_use)
i guess u cant disable a ladder then

Posted: Fri Jul 23, 2004 9:04 am
by ColdKeyboard
My advice is to make some more room, and make the ladder texture realy small and only where you need to step on it. So the player need to get realy close to ladder and look up to use it, or get to it and press use.
I'm sorry, my english isn't very good so I couldnt explane it quite well but I think you get the point.