License from €75 Log in
DE EN FR ES IT CZ

Sleep Function / How To Fade

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 12 years ago
    Moin moin,

    ich würde gerne ein Skript ausführen wenn die Hauptmenü-Kulisse geladen wird, um einige Objekte zu bewegen und zu faden. Leider finde ich in der Doku keinerlei Sleep funktion oder ähnliches, um die Geschwindigkeit eines fadens (ObjectVisibility) zu kontrollieren.

    Kann mir jemand helfen?

    MfG,

    Spellbreaker
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 12 years ago
    Versuche "ObjectDestVisibility " + "ObjectTimeToDestVisibility" anstatt "ObjectVisibility" zum Ein-/Ausblenden. Was eine Sleep-/Pause-Funktion angeht, bin ich spontan aber überfragt, denn das Skript wird vermutlich nicht warten, bis das Ausblenden erledigt ist, bevor es mit der nächsten Anweisung fortfährt.
  4. · 12 years ago
    There's an action part for setting the object visibility. If you want to script it with Lua then you need to script 2 different fields, or use the new to() function, which may or may not work in the current public build.

    I recommend using the action part as it's just simpler all round.

    example of to function...
    Objects["annoying_oap"]:to(3000, {Visibility = 0}) -- fade object "annoying_oap" to 0% opacity over 3 seconds.
    


    What do you mean by a sleep function?

    P.S: why is the title of thread in English, while the text is in German?

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?