Jump to content

SpawnPlaceHolder

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (SpawnPlaceHolder – created via PowerShell script (2025-11-11T21:12:45Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: SpawnPlaceHolder
Function Description: Spawns a placeholder white flag at a specified position with a given group name using MIST dynAddStatic or CMM.StaticSpawn, returning the result of the spawn operation.
File Location: cmm.spawnFunctions.lua
Syntax: CMM.SpawnPlaceHolder( table vec3 , string grpName )
Return Value: table or boolean
Parameters: Name Description
vec3Table containing position data with x and y fields, representing the spawn location.
grpNameName of the group to assign to the placeholder, concatenated with "--PLACEHOLDER--" for identification.
Example: CMM.SpawnPlaceHolder({x=500,y=100,z=200}, "Zone1_Placeholder")
Example Description: Spawns a white flag at (500,100,200) with group name Zone1_Placeholder, returning spawn result from CMM.StaticSpawn. - https://wiki.hoggitworld.com/view/MIST_dynAddStatic
Related Functions:
Notes: