UI Parameters Reset on Slot Select

Post topics about HALion scripting.
Post Reply
AposMus
Junior Member
Posts: 179
Joined: Fri Nov 14, 2014 11:41 am
Contact:

UI Parameters Reset on Slot Select

Post by AposMus » Wed Oct 25, 2017 1:02 pm

Has anyone had this problem?

I'm busy with 2 scripts on 2 different slots. One doesn't have a UI, but the one that does, resets some of its parameters every time I go back to its slot. Only the parameters created in the UI script seem to do this. It seems to reset to the state from when the Cubase project was opened.

I then remembered I have the same problem with another instrument and its page selection which is triggered from the UI. When you close Sonic or Sonic SE, it resets to the 1st screen when you reopen it.

The developers resource mentions that the UI script only runs when visible, so I'm guessing there is some sort of initialisation that occurs when opening Halion/Sonic/SE again or selecting slots.

The variables transferred from the script module to the UI don't appear to retain their values when reopening.

Any guesses / solutions ?
Cubase Pro 8.5.2
Halion 6
HSO
Padshop Pro
Dark Planet
Windows 7 64bit, AMD Phenom IIx6 1055t, 8GB Ram, Gigabyte GA-880G-UD3H F2, Nvidia GeForce GTS450
https://dewetvanderspuy.co.za/

Post Reply

Return to “Halion Scripting”

Who is online

Users browsing this forum: No registered users and 2 guests