SpeakerLook beta
Interface of @v12-engine/client
ts
export interface SpeakerLookWhat someone who speaks looks like in the dialog box
Members
color
ts
color?: string;CSS color of the name, and of the initial without a portrait
name
ts
name: string;The speaker's name as shown in the dialog box
portrait
ts
portrait?: PortraitRef;A picture: the address of an image file, or someone's face (PortraitSpec): a unit on the map ({ unit: 'hero' }), a unit type for someone not on it ({ type: 'giant' }), a model of their own ({ model: 'herald.glb' }), talking as they speak. Their initial on their color when left out
voice
ts
voice?: string;What they sound like saying a line that has no recording of its own (GameView.cinematics.voices): a sound's name