The RpgLogs Scripting API
    Preparing search index...

    Type Alias UnitMark

    UnitMark: MarkCommon & {
        facing?: number | null;
        facingColor?: string;
        facingStyle?: "small" | "large" | "off";
        icon?: string;
        position: Position;
        radius: number;
        specName?: string;
        subType: string;
        type: "unit";
        unitType: string;
    }

    A "unit"---player, pet, NPC, boss, etc. Supplying the unitType, subType, specName, and icon properties will produce an icon mark with the appropriate icon.

    To additionally set a class-colored border (like the replay has), use the strokeColor and strokeWidth properties.