DCS func getZone

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: getZone Added with: 1.2.0
Member Of: trigger.misc
Syntax: table trigger.misc.getZone(string zoneName )
Description: Returns a trigger zone table of a given name


Return Value: table
Return Example: ZoneTable Format
 TriggerZone = {
  point = Vec3,
  radius = Distance
}
Examples: local zone = trigger.misc.getZone('shortBusStop')

trigger.action.outText('The Radius of the bus stop zone is: ' .. zone.radius, 20)

Related Functions: Trigger Functions: ctfColorTag, getUserFlag, setUserFlag, getZone, explosion, smoke, effectSmokeBig, illuminationBomb, signalFlare, radioTransmission, setUnitInternalCargo

outSound, outSoundForCoalition, outSoundForCountry, outSoundForGroup, outText, outTextForCoalition, outTextForCountry, outTextForGroup

addOtherCommand, removeOtherCommand, addOtherCommandForCoalition, removeOtherCommandForCoalition, addOtherCommandForGroup, removeOtherCommandForGroup

markToAll, markToCoalition, markToGroup, removeMark, markupToAll, lineToAll, circleToAll, rectToAll, quadToAll, textToAll, arrowToAll

setAITask, pushAITask, activateGroup, deactivateGroup, setGroupAIOn, setGroupAIOff, groupStopMoving, groupContinueMoving

Notes: