30.07.2014, 20:04
Hello, i am trying to make a command /toggdoor that will open/close the door (MoveObject)
So when i am standing next to a door it automaticly gets the door id (ObjectID) and open/close it...
The command is a toggle so when i type /toggdoor if door is closed, it will open and if it is opened it will close with the same command.
The doors i want to open/close: http://prntscr.com/47xkai
Here someone made it simmilar: https://www.youtube.com/watch?v=LidJh0_EN8c
So when i am standing next to a door it automaticly gets the door id (ObjectID) and open/close it...
The command is a toggle so when i type /toggdoor if door is closed, it will open and if it is opened it will close with the same command.
The doors i want to open/close: http://prntscr.com/47xkai
Here someone made it simmilar: https://www.youtube.com/watch?v=LidJh0_EN8c