|
-
Converting numbers
Hey
I've made a scroller that fits to the inside of a box.
This means that the distance from the top and bottom of the scrollbar is different whenever you resize the box.
Lets say at the moment when I scroll the drag bar's y coordinate moves from 12 to 120
This is fine, but I would like a seperate script that will convert this into out of a hundred. (1-100).
Any help would be great,
-rob
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|