View Single Post
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 10-21-2012, 09:51 PM

If the variables aren't working, it's possible that it's because of a bug which makes local (method-level) variables go unrecognized.

Just change all the variables to global (world-level) ones and change the methods to use them accordingly. I posted another example with all the global variables made, but you'll need to make the methods use them yourself.

As for the way the numbers were made, I just made an extra variable (moveNumber) which subtracts itself from the number the user enters, leaving only the amount that the dial needs to move in order to move from its current position to the requested one.
Attached Files
File Type: a2w lock.a2w (208.7 KB, 8 views)


(')>
   
Reply With Quote