Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

How to quit multiple actions.

  • #20, by ke4 11 years ago Zitieren
    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?
  • #21, by afrlme 11 years ago Zitieren
    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
  • #22, by ke4 11 years ago Zitieren
    Yes it is actually grin But I'll take a look at it. Thanks.