# Convert Bearings To String

FlagsFunction

Turns a 3D position and a 3D rotation (via forward an up vectors) into a string that can be used in an actor message.

# Arguments

  • fixed — Position X
  • fixed — Position Y
  • fixed — Position Z
  • fixed — Forward X
  • fixed — Forward Y
  • fixed — Forward Z
  • fixed — Up X
  • fixed — Up Y
  • fixed — Up Z

Returns — string

string libNtve_gf_ConvertBearingsToString(
	fixed lp_positionX,
	fixed lp_positionY,
	fixed lp_positionZ,
	fixed lp_forwardX,
	fixed lp_forwardY,
	fixed lp_forwardZ,
	fixed lp_upX,
	fixed lp_upY,
	fixed lp_upZ,
);

Category: Conversion / Actor Conversions

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L857
libNtve_gf_ConvertBearingsToString(lp_positionX, lp_positionY, lp_positionZ, lp_forwardX, lp_forwardY, lp_forwardZ, lp_upX, lp_upY, lp_upZ)
// L746
libNtve_gf_ConvertBearingsToString(lp_positionX, lp_positionY, lp_positionZ, lp_forwardX, lp_forwardY, lp_forwardZ, lp_upX, lp_upY, lp_upZ)