# Convert Color To String

Grammar — Convert color color to string
FlagsFunction

Converts the RGB values of the specified Color to a string value with the format ,,.

# Arguments

  • color — Color

Returns — string

string libNtve_gf_ConvertColorToString(color lp_color);

Category: Conversion / Actor Conversions

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:968

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("SetTeamColor", libNtve_gf_ConvertColorToString(lp_diffuseColor), libNtve_gf_ConvertColorToString(lp_emissiveColor));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:968

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("SetTeamColor", libNtve_gf_ConvertColorToString(lp_diffuseColor), libNtve_gf_ConvertColorToString(lp_emissiveColor));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:974

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("SetLocalTintColor", libNtve_gf_ConvertColorToString(lp_color));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:980

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("SetTintColor", (libNtve_gf_ConvertColorToString(lp_color) + " " + FixedToString(lp_hdr, c_fixedPrecisionAny)), FixedToString(lp_duration, c_fixedPrecisionAny));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:857

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("SetTeamColor", libNtve_gf_ConvertColorToString(lp_diffuseColor), libNtve_gf_ConvertColorToString(lp_emissiveColor));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:857

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("SetTeamColor", libNtve_gf_ConvertColorToString(lp_diffuseColor), libNtve_gf_ConvertColorToString(lp_emissiveColor));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:863

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg1("SetLocalTintColor", libNtve_gf_ConvertColorToString(lp_color));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:869

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ActorMsg2("SetTintColor", (libNtve_gf_ConvertColorToString(lp_color) + " " + FixedToString(lp_hdr, c_fixedPrecisionAny)), FixedToString(lp_duration, c_fixedPrecisionAny));
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:6891

    lv_zeratulSearchRadius = libNtve_gf_CatalogFieldValueGetAsReal(c_gameCatalogEffect, "ProphecyArtifactRevealSearch", "AreaArray[" + IntToString(0) + "].Radius", c_playerAny);
    lv_distanceBetweenPoints = UserDataGetFixed("CoopTechZeratulArtifactPlacement", lv_artifactPlacementData, "distanceBetweenPoints", 1);
    lv_tintactormessage = (("SetTintColor " + libNtve_gf_ConvertColorToString(lp_color)));
    lv_pickedtintactormessage = (("SetTintColor " + libNtve_gf_ConvertColorToString(lp_pickedColor)));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:6892

    lv_distanceBetweenPoints = UserDataGetFixed("CoopTechZeratulArtifactPlacement", lv_artifactPlacementData, "distanceBetweenPoints", 1);
    lv_tintactormessage = (("SetTintColor " + libNtve_gf_ConvertColorToString(lp_color)));
    lv_pickedtintactormessage = (("SetTintColor " + libNtve_gf_ConvertColorToString(lp_pickedColor)));

    // Implementation