Giter VIP home page Giter VIP logo

Comments (4)

Mobius1 avatar Mobius1 commented on June 12, 2024

The Start() method just takes text and duration parameters:

exports.rprogress:Start(text, duration)

You need to use the Custom() method instead:

exports.rprogress:Custom({
    Async = true,
    x = 0.5,
    y = 0.5,
    From = 0,
    To = 100,
    Duration = 1000,
    Radius = 60,
    Stroke = 10,
    MaxAngle = 360,
    Rotation = 0,
    Easing = "easeLinear",
    Label = "My Custom Label",
    LabelPosition = "right",
    Color = "rgba(255, 255, 255, 1.0)",
    BGColor = "rgba(0, 0, 0, 0.4)",
    Animation = {
        scenario = "WORLD_HUMAN_AA_SMOKE",
        animationDictionary = "missheistfbisetup1", 
        animationName = "unlock_loop_janitor",
    },
    DisableControls = {
        Mouse = true,
        Player = true,
        Vehicle = true
    },    
    onStart = function()
        -- do something when progress starts
    end,
    onComplete = function()
        -- do something when progress is complete
    end
})

from rprogress.

mifsopo avatar mifsopo commented on June 12, 2024

Ahh i see, now i notice ot says animation directory? Ine nevee actually used animations is there a certain place i have to get animations from?

from rprogress.

Mobius1 avatar Mobius1 commented on June 12, 2024

Animation List: https://alexguirre.github.io/animations-list/

or

Scenario List: https://pastebin.com/6mrYTdQv

from rprogress.

mifsopo avatar mifsopo commented on June 12, 2024

Alright, thank you so much!

from rprogress.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.