SpawnPlaceHolder
Appearance
| 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 |
| vec3 | Table containing position data with x and y fields, representing the spawn location. | |
| grpName | Name 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: | ||