GetGroupPoints
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | GetGroupPoints | |
| Function Description: | Retrieves the route points for a specified group by searching through coalition data, country data, and object category data to locate matching group entries. It returns a table of points if found, otherwise returns nil. | |
| File Location: | cmm.positionFunctions.lua | |
| Syntax: | CMM.GetGroupPoints( string or number groupIdent ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| groupIdent | Either a string name of a group or a number ID of the group; if invalid, an error is logged and nil is returned. | |
| Example: | CMM.GetGroupPoints("RedGroup") | |
| Example Description: | Fetches route points for a group named "RedGroup" from the mission data structure and returns the list of points as a table. | |
| Related Functions: | ||
| Notes: | ||