right when I goto the trigger in game it tell me to hit f on keyboard but nofink happeds like it not pressing the key this script works in game as well with no errors
climbto1() { player = undefined; self usetriggerrequirelookat(); self setCursorHint("HINT_NOICON"); self sethintstring( "Press and hold &&1 to climb up" );
right when I goto the trigger in game it tell me to hit f on keyboard but nofink happeds like it not pressing the key this script works in game as well with no errors and this testing only everything changes one get past this bit
climbto1() { player = undefined; self usetriggerrequirelookat(); self setCursorHint("HINT_NOICON"); self sethintstring( "Press and hold &&1 to climb up" );
sorry to tell you, but there is a lot wrong with this script. It might not give error's because the syntax is ok, but it wont work for sure.. Lemme change it up a bit so it might do what it's upposed to, and you can look at that as an example of some stuff..
thanks dude ur so helpful im trying my hardsts understand what im making it hard as i have to see it my way but yh that how been learning from others scripts but still learning thanks for ur time to Double Post Merge: January 17, 2015, 12:34:46 pmand also could u add code so make player jump like super jump i pick how high i can jum if make u understand mate
Last Edit: January 17, 2015, 12:34:46 pm by lordkurt6
climbto1() { player = undefined; self usetriggerrequirelookat(); self setCursorHint("HINT_NOICON"); self sethintstring( "Press and hold &&1 to climb up" );
if( player.climb_done == true ) { player setPlayerAngles((2,240,0)); player iprintln( "setplayangles" ); player.climb_done = false ; // player thread climbto2(); // self delete(); // if you delete the trigger, you can only use it once?? wait 1; } } }
I havent tested it, all it should do is play the knuckle crack, and set the player angles. Not sure why you are using the .climb_done stuff tbh, so this is the best i could do...
only way use the superjump by trigger but it going br hard as what aiming at was so everytime hit trigger play anim that climb which is easy hopefully but then super jump at the same time but then anim might be well of in time in game