Jump to content

Conditional UI/Swapping files using Papyrus


Recommended Posts

In essence I want to use a different SWF file for interacting with a specific NPC/object. However as far as I can tell no fuction exists to dynamically use a different SWF (interface) file depending on a papyrus condition. Any ideas?

Basically, I want to use one interface file when talking to one person, then a different one when talking to someone else. There can be a fade to black and if needed even a reload in between.

 

Any help would be appreciated

Link to comment
Share on other sites

Gotta know how to open them at all first. And that mod dylbill linked looks like a good starting point

First part of invoking a wheel menu: UI.InvokeForm("CustomMenu","_root.WheelPhase.WheelBase." + "setWheelForm",0x14)

Part of opening a listmenu UI.OpenCustomMenu("WhateverListMenu",0)   then UI.InvokeStringA("CustomMenu","_root.listMenu." + "LM_AddTreeEntries",EntryVariable) etc

If IPreferWheel

  WheelRoutine...

ElseIf IPreferList

  ListRoutine...

EndIf

On top of all that you have to register for modevents to listen for your selections. At any rate, it is an overcomplicated and difficult to figure out process that you have to really want before its very feasible. You should play around with UIExtensions and mods like above to start

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...