What's all this then. It's only a selected part of the code but is all in context. There is a global "global VRCUDesc".
-- Error occurred in anonymous codeblock; filename: CKD-VRCacheUtils.mcr; position: 1223; line: 49
-- Syntax error: at keyword parameter, expected name
-- In line: label VRCUDescLabel VRCUDesc pos:[
line 49 = label VRCUDescLabel VRCUDesc pos:[0,0]
-- Error occurred in anonymous codeblock; filename: CKD-VRCacheUtils.mcr; position: 1223; line: 49
-- Syntax error: at keyword parameter, expected name
-- In line: label VRCUDescLabel VRCUDesc pos:[
line 49 = label VRCUDescLabel VRCUDesc pos:[0,0]
Code:
dropdownlist VRCUDDown "" items:#( "Save+Load", "Compute+Load", "Load Existing", "Unload" ) width:200 align:#center on VRCUDDown selected sel do ( if sel == 1 then ( VRCUDesc = "Saves the current in-memory cache and loads it (sets mode to File)." ) if sel == 2 then ( VRCUDesc = "Turns off render final image, turns on show gi only, changes mode to Single, auto-save and auto-switch!" ) if sel == 3 then ( VRCUDesc = "Loads existing caches." ) if sel == 4 then ( VRCUDesc = "Goes back to Single mode, turns off auto-save and switch." ) ) groupBox VRCUDescGrp "" pos:[5,30] width:200 height:60 label VRCUDescLabel VRCUDesc pos:[0,0]
Comment