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

How to fade/hide a interface with a script

  • #1, by marvel 9 years ago Zitieren
    Does anybody have a script that fades and finally hides a specific interface? smile
  • #2, by afrlme 9 years ago Zitieren
    execute a script action part >
    Interfaces["example"]:to(1000, {InterfaceVisibility = 0})

    pause for 1000ms (action part)
    execute a script action part >
    Interfaces["example"].InterfaceVisible = false


    Quick note: you will have to use Lua to unhide it & probably fade interface visibility back up to 100% to make it visible - as needed.

    P.S: hiding specific interfaces is only possible with Lua script. The action part method only allows you to hide/show all interfaces belonging to the specified interface class.

  • #3, by sebastian 9 years ago Zitieren
    It has to be
    Interfaces["example"]:to(1000, {VInterfaceVisibility = 0})
  • #4, by afrlme 9 years ago Zitieren
    It has to be
    Interfaces["example"]:to(1000, {VInterfaceVisibility = 0})
    What you talking about mate? I'm using shorthand not longhand. Even "Visibility" will work on its own.

  • #5, by sebastian 9 years ago Zitieren
    Interfaces["example"]:to(1000, {InterfaceVisibility = 0})

    will not work because the "V" is missing . Just used it right now. Without the V nothing happens ...
  • #6, by afrlme 9 years ago Zitieren
    Working in 4.2.5 & 5.x just fine (windows). Maybe mac player doesn't like it?
  • #7, by sebastian 9 years ago Zitieren
    Working in 4.2.5 & 5.x just fine (windows). Maybe mac player doesn't like it?
    could be...