Still in remedial Zscripting School I managed to break Zbrush by creating an array
[VarDef, w(0),“one”]
[VarDef, w(1),“two”]
[VarDef, w(2),“three”]
I’d like to blame the typo in the technical docs on arrays.
This works, but sets all three elements to the same string, which is limiting
[VarDef, w(2),“one”]
This is what I’d expect to type but kicks up the error: Incorrect type of variable input/output
[VarDef, w(),“one”, “two”,“three”]
Do you have to specify the number of elements in the array first? because I tried that too to no avail.