How to quit multiple actions.

  • #20, by ke4Thursday, 09. July 2015, 20:26 10 years ago
    I'll look into that, atleast i can try & eventually i can just use what i've already done.

    Can you please just shortly explaine what do you mean by percentage position?

    Key Killer

    810 Posts


  • #21, by afrlmeThursday, 09. July 2015, 21:26 10 years ago
    Take a look at the sliding volume control script that was written a few years back.

    It uses a single animation frame set to infinite loop, which can be easily moved with a single line of lua script.

    You convert a width value (pixels) that is made up of the furthest left pixel coordinate of where the rail should begin to the furthest right pixel where the rail should end. You then calculate the position of the animation on the rail & convert it to a percentage or vice versa to tell the animation where it should be positioned on the rail.

    I guess it's pretty complicated to understand when it's just words.

    http://pastebin.com/7V9igpPB

    Imperator

    7285 Posts

  • #22, by ke4Thursday, 09. July 2015, 21:38 10 years ago
    Yes it is actually grin But I'll take a look at it. Thanks.

    Key Killer

    810 Posts