Difference between revisions of "DCS func getZone"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
(3 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 37: | Line 39: | ||
|examples= | |examples= | ||
+ | |||
+ | local zone = trigger.misc.getZone('shortBusStop') | ||
+ | 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]] |