You have to define you parameter like this:
table = {'Item1', 'Item2', 'Item3'}
function onMenu()
print(Menu)
end
defineParameter{
name = 'Menu',
onChanged = onMenu,
writeAlways = true,
strings = table,
default = 1,
}
By default a Halion parameter won’t trigger the callback if the value doesn’t change. Setting writeAlways to true changes that.
You’re probably going to have to work in the boolean based on the number value of the string list array.