Jump to content

ArrayToString

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (ArrayToString – created via PowerShell script (2025-11-11T21:12:47Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: