Difference between revisions of "DCS func circleToAll"
From DCS World Wiki - Hoggitworld.com
Line 84: | Line 84: | ||
|optType3= | |optType3= | ||
− | |examples= | + | |examples= The following will take a trigger zone placed in the editor and use the center point and the radius of that zone to draw a circle that is shaded in red with no outline. |
+ | |||
+ | local ref = trigger.misc.getZone("targetArea") | ||
+ | trigger.action.circleToAll(-1 , 1, ref.point , ref.radius , {0, 0, 0, 0} , {1, 0, 0, .7} , 0 , true) | ||
|related= | |related= | ||
[[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | [[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} |