Jump to content

ArrayToString

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: ArrayToString
Function Description: Converts a table of vec3 values into a comma-separated string representation of its elements.
File Location: cmm.stringFunctions.lua
Syntax: CMM.ArrayToString( table TBL )
Return Value: string
Parameters: Name Description
TBLTable containing vec3 values to convert into a string format.
Example: CMM.ArrayToString({vec3(1,2,3), vec3(4,5,6)})
Example Description: Converts a table of vec3 values into a string like "vec3(1,2,3), vec3(4,5,6)".
Related Functions:
Notes: