Thread: Object Clicking/Walking

Results 1 to 6 of 6
  1. #1 Object Clicking/Walking 
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    Simply this is happening to doors causing no clip -
    Attached image




    This is also happening to levers

    Attached image

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    The lever seems fine. However with the door, check your code as it seems like a forcewalk rather then open the door and forcewalk.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. #3  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    Quote Originally Posted by arch337 View Post
    The lever seems fine. However with the door, check your code as it seems like a forcewalk rather then open the door and forcewalk.
    The only problem with the lever if you notice when in wilderness you are a spot away and it hits the lever.

    Now for the door i fixed up the code, believe it was my fault. But now this is happening -

    Attached image

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  4. #4  
    Extreme Donator


    Join Date
    Aug 2016
    Posts
    597
    Thanks given
    109
    Thanks received
    96
    Rep Power
    254
    I mean most servers don't have fully functioning doors so for the noclipping issue i'd imagine you're using a forceWalk instead of actually updating the object? The reason why you can't go through the door when you're right next to it is because your doors actions are most likely going off of the players position, meaning the player has to be standing on one exact coordinate for it to happen. Since your character doesn't walk to said position when they're two spaces away from the door leads me to believe that in relation to objects positioning, your formula could be getting the size of the object wrong thus moving you keeping you further away because it thinks the object is larger than it actually is
    Reply With Quote  
     

  5. #5  
    Crafting what has been undiscovered

    Doughiee's Avatar
    Join Date
    Nov 2015
    Posts
    124
    Thanks given
    219
    Thanks received
    192
    Rep Power
    725
    Quote Originally Posted by Goody View Post
    I mean most servers don't have fully functioning doors so for the noclipping issue i'd imagine you're using a forceWalk instead of actually updating the object? The reason why you can't go through the door when you're right next to it is because your doors actions are most likely going off of the players position, meaning the player has to be standing on one exact coordinate for it to happen. Since your character doesn't walk to said position when they're two spaces away from the door leads me to believe that in relation to objects positioning, your formula could be getting the size of the object wrong thus moving you keeping you further away because it thinks the object is larger than it actually is
    Hi,

    but wouldn't the object, when supposed to be larger than thought, unreachable? He's still able to reach it by manually walking to it though. Also, he can enter the door vice-versa (from another side)

    check for both positive and negative offsetX and offsetY instead of just the negative one (hence it works only one-sided)

    If that wont help it: would you mind sharing code so we can get a slight idea of how your system works and what might be off?
    Reply With Quote  
     

  6. #6  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    I will do some tests and report back to everyone, THANK YOU FOR THE POST AND REPLIES!

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    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

Similar Threads

  1. Replies: 18
    Last Post: 04-01-2013, 05:29 AM
  2. [474] Object Click 1
    By Encouragin in forum Tutorials
    Replies: 5
    Last Post: 02-24-2009, 06:39 PM
  3. First object click released..
    By wizzyt21 in forum Tutorials
    Replies: 2
    Last Post: 07-21-2008, 10:09 AM
  4. Object click one??
    By Profile in forum Tutorials
    Replies: 8
    Last Post: 07-10-2008, 08:25 AM
  5. object click one handler
    By hoodlom in forum Tutorials
    Replies: 17
    Last Post: 04-25-2008, 07:37 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •