# Convert 3D Vector To String
Flags —
Function
Converts the X, Y, and Z parameters into a string with the format “X,Y,Z”.
# Arguments
fixed
— Xfixed
— Yfixed
— Z
Returns — string
string libNtve_gf_Convert3DVectorToString(
fixed lp_x,
fixed lp_y,
fixed lp_z,
);
# 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:869
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetBearingsH", (FixedToString(lp_positionX, c_fixedPrecisionAny) + "," + FixedToString(lp_positionY, c_fixedPrecisionAny) + " " + FixedToString(lp_height, c_fixedPrecisionAny) + " '" + libNtve_gf_Convert3DVectorToString(lp_forwardX, lp_forwardY, lp_forwardZ) + " " + libNtve_gf_Convert3DVectorToString(lp_upX, lp_upY, lp_upZ) + "'"));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:869
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetBearingsH", (FixedToString(lp_positionX, c_fixedPrecisionAny) + "," + FixedToString(lp_positionY, c_fixedPrecisionAny) + " " + FixedToString(lp_height, c_fixedPrecisionAny) + " '" + libNtve_gf_Convert3DVectorToString(lp_forwardX, lp_forwardY, lp_forwardZ) + " " + libNtve_gf_Convert3DVectorToString(lp_upX, lp_upY, lp_upZ) + "'"));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:893
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetPosition", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:947
// Implementation
if ((lp_blendDuration > 0.0)) {
return libNtve_gf_ActorMsg2("SetScale", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z), FixedToString(lp_blendDuration, c_fixedPrecisionAny));
}
else {
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:950
}
else {
return libNtve_gf_ActorMsg1("SetScale", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z));
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:958
// Implementation
if ((lp_blendDuration > 0.0)) {
return libNtve_gf_ActorMsg2("SetScaleAbsolute", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z), FixedToString(lp_blendDuration, c_fixedPrecisionAny));
}
else {
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:961
}
else {
return libNtve_gf_ActorMsg1("SetScaleAbsolute", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z));
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2249
// Automatic Variable Declarations
// Implementation
return (libNtve_gf_Convert3DVectorToString(lp_positionX, lp_positionY, lp_positionZ) + " " + libNtve_gf_Convert3DRotationToString(lp_forwardX, lp_forwardY, lp_forwardZ, lp_upX, lp_upY, lp_upZ));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2267
// Automatic Variable Declarations
// Implementation
return (libNtve_gf_Convert3DVectorToString(lp_forwardX, lp_forwardY, lp_forwardZ) + " " + libNtve_gf_Convert3DVectorToString(lp_upX, lp_upY, lp_upZ));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2267
// Automatic Variable Declarations
// Implementation
return (libNtve_gf_Convert3DVectorToString(lp_forwardX, lp_forwardY, lp_forwardZ) + " " + libNtve_gf_Convert3DVectorToString(lp_upX, lp_upY, lp_upZ));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:758
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetBearingsH", (FixedToString(lp_positionX, c_fixedPrecisionAny) + "," + FixedToString(lp_positionY, c_fixedPrecisionAny) + " " + FixedToString(lp_height, c_fixedPrecisionAny) + " '" + libNtve_gf_Convert3DVectorToString(lp_forwardX, lp_forwardY, lp_forwardZ) + " " + libNtve_gf_Convert3DVectorToString(lp_upX, lp_upY, lp_upZ) + "'"));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:758
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetBearingsH", (FixedToString(lp_positionX, c_fixedPrecisionAny) + "," + FixedToString(lp_positionY, c_fixedPrecisionAny) + " " + FixedToString(lp_height, c_fixedPrecisionAny) + " '" + libNtve_gf_Convert3DVectorToString(lp_forwardX, lp_forwardY, lp_forwardZ) + " " + libNtve_gf_Convert3DVectorToString(lp_upX, lp_upY, lp_upZ) + "'"));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:782
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg1("SetPosition", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:836
// Implementation
if ((lp_blendDuration > 0.0)) {
return libNtve_gf_ActorMsg2("SetScale", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z), FixedToString(lp_blendDuration, c_fixedPrecisionAny));
}
else {
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:839
}
else {
return libNtve_gf_ActorMsg1("SetScale", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z));
}
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:847
// Implementation
if ((lp_blendDuration > 0.0)) {
return libNtve_gf_ActorMsg2("SetScaleAbsolute", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z), FixedToString(lp_blendDuration, c_fixedPrecisionAny));
}
else {
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:850
}
else {
return libNtve_gf_ActorMsg1("SetScaleAbsolute", libNtve_gf_Convert3DVectorToString(lp_x, lp_y, lp_z));
}
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1933
// Automatic Variable Declarations
// Implementation
return (libNtve_gf_Convert3DVectorToString(lp_positionX, lp_positionY, lp_positionZ) + " " + libNtve_gf_Convert3DRotationToString(lp_forwardX, lp_forwardY, lp_forwardZ, lp_upX, lp_upY, lp_upZ));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1951
// Automatic Variable Declarations
// Implementation
return (libNtve_gf_Convert3DVectorToString(lp_forwardX, lp_forwardY, lp_forwardZ) + " " + libNtve_gf_Convert3DVectorToString(lp_upX, lp_upY, lp_upZ));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1951
// Automatic Variable Declarations
// Implementation
return (libNtve_gf_Convert3DVectorToString(lp_forwardX, lp_forwardY, lp_forwardZ) + " " + libNtve_gf_Convert3DVectorToString(lp_upX, lp_upY, lp_upZ));
}