cs96and / FoundryVTT-CGMP

FoundryVTT module that adds a few handy options for the GM.
MIT License
5 stars 5 forks source link

force chat in-character assigned #6

Closed sunflowermans closed 3 years ago

sunflowermans commented 3 years ago

Force all chat to player's assigned character, regardless of if their owned token is in the scene.

Ideally, this setting when checked would gray out the option for GM safe chat. Not sure how to do that though.

cs96and commented 3 years ago

Thanks for this. It has been incorporated into v0.3.0.

I replaced the "Disable GM speaking as PC" and the new "Force in-character" options into a single drop-down in the settings window.

sunflowermans commented 3 years ago

Thanks for this. It has been incorporated into v0.3.0.

I replaced the "Disable GM speaking as PC" and the new "Force in-character" options into a single drop-down in the settings window.

Excellent. Thanks!

sunflowermans commented 3 years ago

image Correct me if I'm wrong, but getSpeaker will pull the currently selected token, right? charname was for getting the name of the foundry assigned token chosen by the player or GM right when they log in or after (which was my intention)

cs96and commented 3 years ago

I'm passing the user's assigned actor to getSpeaker(), so it will use the token for that actor if one exists in the scene.