GetZone: Difference between revisions
Appearance
Ozdeadmeat (talk | contribs) getZone – created via PowerShell script (2025-11-11T21:12:07Z) Tag: Recreated |
Ozdeadmeat (talk | contribs) m GetZone – created via PowerShell script (2026-01-01T06:03:46Z) Tag: Reverted |
||
| Line 1: | Line 1: | ||
{{Template:FunctionInfo|fName= | {{Template:FunctionInfo|fName= GetZone|fDescription= Returns a zone table by its name|parentFile= cmm.ZoneFunctions.lua|syntax= CMM.GetZone(<string>)|return= table or nil|returnDesc= Returns a zone table if found, otherwise nil.|example= CMM.GetZone("Zone15",1000)|exampleDesc= Returns a zone table for the zone named "Zone15", or nil if not found.|related= |note= |envType= CMM|par1= string zoneName|reqType1= string|reqName1= zoneName|desc1= Name of the zone as defined in the mission editor.}} | ||
Revision as of 19:03, 31 December 2025
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | GetZone | |
| Function Description: | Returns a zone table by its name | |
| File Location: | cmm.ZoneFunctions.lua | |
| Syntax: | CMM.GetZone( string zoneName ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| zoneName | Name of the zone as defined in the mission editor. | |
| Example: | CMM.GetZone("Zone15",1000) | |
| Example Description: | Returns a zone table for the zone named "Zone15", or nil if not found. | |
| Related Functions: | ||
| Notes: | ||