Thread: Going up?
View Single Post
  #11  
Old 04-23-2002, 05:55 AM
foley
Fire Beetle
 
Join Date: Jan 2002
Posts: 12
Default

No, lifts aren't really that hard to make move, it's the same packet structure that is used to make a door open, the only hard part is you have to keep track of which lift the triggers open so you know which lift to open when the trigger is clicked(this is not handled in the packet structure at all to my knowledge, you have to keep track on the server in the database or script or whatever is being used these days). There are other things to consider too when you want to get advanced like you have to keep track of whether or not a lift is currently in motion and ignore any requests for it while it is, otherwise you could have people on the top and bottom of the lift continually triggering it and have the lift get stuck in the middle, when you really want the lift to go all the way up before it accepts the call to go down.