It must be possible to put a Zscript onto a custom UI button, but how?
[IButton, "Hello", "Hello World message!",
[VarDef, msg, ""]
[VarSet, msg, "Hello World!"]
[MessageOk, msg, "Word up!"]
]
Without confusing matters, what if I wanted to put this simple script onto a button BUT with the caveat of needing to change the script on the go - say I needed to change the message halfway through sculpting -
[VarSet, msg, "Hello Coffee!"]
Does that mess things up as the existing script is already complied and any link would be to the .zsc and not the text file?
Hope this make sense. #actuallyautistic
Answers on a postcard, please.
Cheers