Results 1 to 2 of 2

Thread: how to unlock a door?

  1. #1
    Normal User
    Join Date
    Mar 2013
    Location
    SWE!
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    how to unlock a door?

    I want to make a script for abdendriel trolls.. so how would i make script to open the door?

    It needs to check if door is already open, if it is then walk through and bonus if it closes and locks the door behind him.

    If door is closed then bot opens door and walks through etc.

    If door is locked then bot uses key and then open the door to walk through etc.

  2. #2
    Normal User
    Join Date
    Mar 2013
    Location
    SWE!
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    I don't need answer anymore for this question.. I found out.

    1. Stand infront of door.
    2. Test walk through it.
    3. If position is same as standing infront door then
    4. test open door
    5. test walk through
    6. if position same as standing infront of door then
    7. use key on door
    8. walk through
    9. check position

Posting Permissions

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