Xarxus
May 19th, 2023, 09:19
I need some explanation on these function parameters. I put the questions next to the parameters of the code.
OptionsManager.registerOption2(
"XYZ", --> This is the unique name of the option, right?
true, --> "true" is equal for all, "false" every client can define it?
"ABC", --> This should be the name of the group the option should be placed in, right?
"DEF", --> This is the option label
"fff", --> This is th option type, like "option_entry_cycler"
{ labels = "option1|option2", --> These are the labels on which the option cycles (if option_entry_cycler)?
values = "123|456", --> These are the associated values?
baselabel = "option3", --> Is this the default? Should it be one of the above? I find some example with a different option...
baseval = "789", --> This depends on the answers above
default = "ggg" }); --> Another default?
OptionsManager.registerOption2(
"XYZ", --> This is the unique name of the option, right?
true, --> "true" is equal for all, "false" every client can define it?
"ABC", --> This should be the name of the group the option should be placed in, right?
"DEF", --> This is the option label
"fff", --> This is th option type, like "option_entry_cycler"
{ labels = "option1|option2", --> These are the labels on which the option cycles (if option_entry_cycler)?
values = "123|456", --> These are the associated values?
baselabel = "option3", --> Is this the default? Should it be one of the above? I find some example with a different option...
baseval = "789", --> This depends on the answers above
default = "ggg" }); --> Another default?