Ladders?

I was wondering if there are any scripts for a ladder that lets you climb up indown with a special gani. If anyone has one I would be very thankful.

like that? if thats all you want it took me longer to make the CODE tags…

if (playertouchsme) { replaceani walk,[ladderganihere]; }
you could use attachplayertoobj; if you want to be more complex i guess.

if (playerenters || timeout){
  if (playerx in |x,x+w| && playery in |y,y-h|){//x is the x placement of the image and w is the width, likewise with y and h
    disabledefmovement;
    if (keydown(0)){playery-=1;setani ladderclimb,;}
    if (keydown(2)){playery+=1;setani ladderclimb,;}//uhhhh I cant remember if keydown 0 is up or down so you might need to change these around >.<
  }
  else {enabledefmovement;}
  timeout=0.05;
}

Uhhhh this is untested but should work, If it doesnt meh…

There is a thing called a code tag.

[code][/code.]

Fine ill fix it now…

[QUOTE=tricxta;52735]

if (playerenters || timeout){
  if (playerx in |x,x+w| && playery in |y,[b]y-h[/b]|){//x is the x placement of the image and w is the width, likewise with y and h
    disabledefmovement;
    if (keydown(0)){playery-=1;setani ladderclimb,;}
    if (keydown(2)){playery+=1;setani ladderclimb,;}//uhhhh I cant remember if keydown 0 is up or down so you might need to change these around >.<
  }
  else {enabledefmovement;}
  timeout=0.05;
}

Uhhhh this is untested but should work, If it doesnt meh…
[/QUOTE]

Mostly correct…except for the y-h part, which would be everything above the npc.(y+h)[/nitpicking]

[QUOTE=tricxta;52735]

if (playerenters || timeout){
  if (playerx in |x,x+w| && playery in |y,y-h|){//x is the x placement of the image and w is the width, likewise with y and h
    disabledefmovement;
    if (keydown(0)){playery-=1;setani ladderclimb,;}
    if (keydown(2)){playery+=1;setani ladderclimb,;}//uhhhh I cant remember if keydown 0 is up or down so you might need to change these around >.<
  }
  else {enabledefmovement;}
  timeout=0.05;
}

Uhhhh this is untested but should work, If it doesnt meh…
[/QUOTE]
now to find a ladder climb gani

Go make one yourself… or use carry… and make him face up ofcourse…

setani lift,;
playerdir = 0;

[QUOTE=Onijustin;52746]Mostly correct…except for the y-h part, which would be everything above the npc.(y+h)[/nitpicking][/QUOTE]

you cant expect me to do all the work >.< I rekon we went too far with helping him this time

[QUOTE=benjiro;52733]I was wondering if there are any scripts for a ladder that lets you climb up indown with a special gani. If anyone has one I would be very thankful.[/QUOTE]
Ima rip on you. Commands.rtf…

[QUOTE=Kondie;52768]Ima rip on you. Commands.rtf…[/QUOTE]

12 year olds can’t sit through the read, much less figure out how to get the thing.

xD then I’m glad I barely qualify. (13 haha)

She’s like… 8 or something… lmao…

[QUOTE=Kondie;52822]She’s like… 8 or something… lmao…[/QUOTE]

if (playertouchsme) message go away hater lol; }

function actionbenjiroannoyesme(){
  destroy;
}

[QUOTE=tricxta;52847]

function actionbenjiroannoyesme(){
  destroy;
}

[/QUOTE]

Nice fuck up, homo.

[QUOTE=tricxta;52847]

function actionbenjiroannoyesme(){
  destroy;
}

[/QUOTE]

:cry: