Open the Queue Action dialog for a combatant and add the entered action to the combat tracker.
Callers resolve the combatant and show their own "not in combat" warnings first. This helper
does not check ownership, so the sheet keeps its isOwner guard and the Token HUD keeps its
current (unguarded) behavior.
The dialog collects: action name, action type (from CONFIG.BODY_MIND_SOUL.combat.actionTypes),
resolution time (downs), repetitions, and, for GMs only, player visibility. Non-GM submissions
are always player-visible. The result is queued with game.combat.addActionToDown.
Config:
combatant: the combatant that will own the queued action (its id is sent as combatantId).
targets: target token ids sent as targets (typically game.user.targets.ids).
Parameters
options: {combatant:any;targets:string[]}
Dialog inputs.
combatant: any
The combatant that owns the queued action.
targets: string[]
Target token ids to attach to the action.
Returns Promise<void>
Resolves when the dialog closes and any queued action is added (or the dialog is cancelled).
Open the Queue Action dialog for a combatant and add the entered action to the combat tracker.
Callers resolve the combatant and show their own "not in combat" warnings first. This helper does not check ownership, so the sheet keeps its
isOwnerguard and the Token HUD keeps its current (unguarded) behavior.The dialog collects: action name, action type (from
CONFIG.BODY_MIND_SOUL.combat.actionTypes), resolution time (downs), repetitions, and, for GMs only, player visibility. Non-GM submissions are always player-visible. The result is queued withgame.combat.addActionToDown.Config:
combatant: the combatant that will own the queued action (its id is sent ascombatantId).targets: target token ids sent astargets(typicallygame.user.targets.ids).