# Convert Color To String
Grammar — Convert color color to string
Flags —Function
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);
# Related
Category: Conversion / Actor Conversions
- Convert Color To String —
string
— libNtve_gf_ConvertColorToString - Convert Bearings To String —
string
— libNtve_gf_ConvertBearingsToString - Convert XY To String —
string
— libNtve_gf_ConvertXYToString - Convert 3D Vector To String —
string
— libNtve_gf_Convert3DVectorToString - Convert 3D Rotation To String —
string
— libNtve_gf_Convert3DRotationToString - Convert String To Actor Message
# Examples
mods/core.sc2mod — base.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.sc2mod — base.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.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:974
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetLocalTintColor", libNtve_gf_ConvertColorToString(lp_color));
}
mods/core.sc2mod — base.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.stormmod — base.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.stormmod — base.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.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:863
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetLocalTintColor", libNtve_gf_ConvertColorToString(lp_color));
}
mods/core.stormmod — base.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.sc2mod — base.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.sc2mod — base.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