Difference between revisions of "DCS func getZone"
From DCS World Wiki - Hoggitworld.com
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
|par4= | |par4= | ||
− | |desc= Returns a trigger zone table of a given name | + | |desc= Returns a trigger zone table of a given name. |
+ | |||
+ | For more information on the zone table you can [[Miz_mission_structure#Triggers| parse the miz]] file to find the table for the zone. | ||
|rtnType= table | |rtnType= table | ||
Line 39: | Line 41: | ||
local zone = trigger.misc.getZone('shortBusStop') | local zone = trigger.misc.getZone('shortBusStop') | ||
− | trigger.action.outText('The Radius of the bus stop zone is: .. | + | trigger.action.outText('The Radius of the bus stop zone is: ' .. zone.radius, 20) |
|related= | |related= | ||
[[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | [[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | ||
− | |notes= | + | |notes= If it is a quad zone then it will not return any information on the points. |
}} | }} | ||
[[Category:Singleton Functions|getZone]] | [[Category:Singleton Functions|getZone]] | ||
+ | [[Category:Game Patch 1.2.0|getZone]] |