speakerInHud beta
Function of @v12-engine/client
ts
export declare function speakerInHud(line: Pick<LineInfo, 'face' | 'portrait'> | undefined, look: DialogLook, hud: {
portraits: HudPortraits;
boxes: number;
}): boolean;Whether a line's speaker shows in the HUD's portrait box rather than in the dialog box (DialogLook.portraitIn): a line with a face or a picture, said while a box of the HUD's is up, where the look puts them there