Larkinabout / fvtt-token-action-hud-core

Token Action HUD is a repositionable HUD of actions for a selected token.
13 stars 18 forks source link

[FEATURE] PF2 Party Token (a.k.a. clown-car) support #196

Open apoapostolov opened 12 months ago

apoapostolov commented 12 months ago

PF2 5.4.0 introduced a new actor, sheet, and token for the Party. Party is a superset of all included actors and can be represented on the map as a single vehicle-like token that can be entered and exited to compact the whole Party into a single ticket for the DM to move around or to go when the individual permits need to be operated.

A problem with this is that when the Party is represented as this single token, it is not considered a character token, and Token Action HUD will not show. During this period, when tokens are "inside" the party vehicle and not represented on the map, players cannot use the HUD to make skill checks, etc.

I propose to add support for the Party, and the Party Action HUD will display the owned character for this particular player inside the Party. A problem may arise that a player may have multiple owned actors inside the Party, soPartyaps a new tab-like support for various character names (at the header where the character name is shown) where the player can switch between them to render the desired HUD.