PDA

View Full Version : Client reading a GM set option



MadBeardMan
April 19th, 2020, 13:48
Hi Folks,

Been allowing the Task Difficulty to be adjusted by the players (Client), however I want to make sure the GM has allowed this.

So I've got my option added, appears under GM, launch a client, option is set to YES as well. All good.

When I do 'local sOptAPCD = OptionsManager.getOption("APCD")' that returns 'Yes' on the GM, and 'No' on the Client.

How do I allow a Client to see the value of the setting?

Cheers,
MBM

Moon Wizard
April 20th, 2020, 08:08
You have to make sure that the option is set as a campaign option vs a client option.

JPG

MadBeardMan
April 20th, 2020, 09:09
You have to make sure that the option is set as a campaign option vs a client option.

JPG

Hi Chap,

What does that entail?

I don't see 'campaign' options, just combat, gm, client and house rules.

Cheers,
MBM

Trenloe
April 20th, 2020, 09:52
The second argument to OptionsManager.registerOption2 - true if you want it to be available to all, false if just the GM.

MadBeardMan
April 20th, 2020, 09:53
The second argument to OptionsManager.registerOption2 - true if you want it to be available to all, false if just the GM.

Aha, excellent, just finished one meeting at work, 7 minutes before the next, whack-a-meeting-mole today!

Cheers,
MBM