Thread: Height level command help

Results 1 to 6 of 6
  1. #1 Height level command help 
    Member
    Join Date
    Aug 2008
    Posts
    32
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Basically the new player height doesn't take affect until I log out and in.

    if(command.equalsIgnoreCase("up")) {
    heightLevel = +1;
    }
    if(command.equalsIgnoreCase("down")) {
    heightLevel = -1;
    }
    Reply With Quote  
     

  2. #2  
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    24
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    Hmm..
    You should add something to disconnect and reconnect the player quickly, so it just, yeah.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    'Craig
    Guest
    Code:
    if(command.equalsIgnoreCase("up")) {
    heightLevel = +1;
    toX = absX;
    toY = absY;
    }
    if(command.equalsIgnoreCase("down")) {
    heightLevel = -1;
    toX = absX;
    toY = absY;
    }
    Thats for delta, im sure you can figure out tox etc for other sources.

    Made me lol:

    Code:
    Quote Originally Posted by Ghost View Post
    Hmm.. You should add something to disconnect and reconnect the player quickly, so it just, yeah.
    Such a cheap way
    Reply With Quote  
     

  4. #4  
    Registered Member
    Its paris's Avatar
    Join Date
    Apr 2009
    Posts
    1,141
    Thanks given
    56
    Thanks received
    228
    Rep Power
    689
    You need to somehow refresh the map. Don't ask me how.
    I've tried something similar but thusfar without the effect I hoped for.
    Reply With Quote  
     

  5. #5  
    'Craig
    Guest
    Quote Originally Posted by TheChosenOne View Post
    You need to somehow refresh the map. Don't ask me how.
    I've tried something similar but thusfar without the effect I hoped for.
    Like i said...

    toX
    toY
    Reply With Quote  
     

  6. #6  
    Member
    Join Date
    Aug 2008
    Posts
    32
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    It's not working;

    Code:
    if(command.equalsIgnoreCase("up")) {
    heightLevel = +1;
    toX = absX;
    toY = absY;
    }
    if(command.equalsIgnoreCase("down")) {
    heightLevel = -1;
    toX = absX;
    toY = absY;
    }
    It's all messed up. When I do ::up it go up to 1, 2 ,3 then when I get to 3. ::up starts making me go down.

    Also when I'm on 0 and do :own I go up to 3 and that all.

    Whats wrong
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •