Jump to content

GetZone: Difference between revisions

From CMM Wiki
m GetZone – created via PowerShell script (2026-01-01T06:03:46Z)
Tag: Reverted
m GetZone – created via PowerShell script (2026-02-11T01:16:53Z)
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 14:16, 10 February 2026

Return to CMM Command Reference
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
zoneNameName 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: