Interface management question

  • #1, by stothewSaturday, 28. July 2018, 13:09 6 years ago
    Hi there!

    I want to create more interfaces but i don´t konw how to handle them.
    At the moment I have (like everyone) 5 Categories. Main, second, option, inventory, other.
    this "Categories" i can hide and show, but no specified interface. So every "Categorie" is for me only one interface..

    Main -> my main smile
    second -> my Map
    option -> my own dialog system
    inventory -> inventorys
    other -> a share for interfaces that don´t have actions like snoop, a vignette, filmstrip-overlay, gfx

    what i need now is "tutorial interfaces" and i don´t know how to show/hide/manage them...

    any suggestion how to handle this?

    Forum Fan

    127 Posts


  • #2, by sebastianSaturday, 28. July 2018, 13:35 6 years ago
    use the explorer to create new interface classes (strg+e/cmd+e). you should go and check if the class and and the classname is set.



    After that they should show up when defining the interface. 

    (images from 4.2.5,but are valid for 5.*)

    Thread Captain

    2346 Posts

  • #3, by afrlmeSaturday, 28. July 2018, 13:47 6 years ago
    Quick tip: you can use Lua to hide/show specific interfaces rather than hiding/showing based on interface class.

    Interfaces["example"].Visible = true

    Replace true with false to hide an interface. I think it's a much neater solution than relying on interface classes as it doesn't matter which class you assign an interface to; though classes are useful if you want to hide/show multiple interfaces at the same time.

    Imperator

    7285 Posts

  • #4, by nenad-asanovicSaturday, 28. July 2018, 13:57 6 years ago
    I use simple condition connected to interface and toggle condition to show/hide interface smile

    Newbie

    59 Posts

  • #5, by stothewSaturday, 28. July 2018, 14:21 6 years ago
    many solutions. Quick and good!
    Thanks you all that helps a lot!

    Forum Fan

    127 Posts

  • #6, by stothewSunday, 14. October 2018, 14:26 6 years ago
    mhh.. this one is comming up again.

    in V5 i can just link to existing classes in the explorer/editor so i cannot create a new one.

    also
    Interfaces["example"].Visible = true
    

    also does not show the interface.. does it have to be assigned to a class to show it?

    Forum Fan

    127 Posts

  • #7, by afrlmeSunday, 14. October 2018, 15:05 6 years ago
    mhh.. this one is comming up again.

    in V5 i can just link to existing classes in the explorer/editor so i cannot create a new one.

    also
    Interfaces["example"].Visible = true
    

    also does not show the interface.. does it have to be assigned to a class to show it?

    Possible. Don't know, never tested if you actually have to assign an interface class or not. Have you assigned the interface to your playable character?

    As for new interface classes, you need to create them with the explorer tool (ctrl+e), then scroll down near to the bottom of the list & right click on "eInterfaceClasses" & create a new interface class. Click on the new interface class you just created, rename it, then expand it & rename the field inside with the same name you just gave the interface class.

    Imperator

    7285 Posts

  • #8, by stothewSunday, 14. October 2018, 15:25 6 years ago
    I see. i tried it in "eInterfaces" and overlooked the "eInterfacesClass" now it works fine. Thank  you ( as always) :S

    Forum Fan

    127 Posts