Difference between revisions of "DCS func circleToAll"
From DCS World Wiki - Hoggitworld.com
(5 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
|par4= | |par4= | ||
− | |desc= Creates a | + | |desc= Creates a circle on the map with a given radius, color, fill color, and outline. |
Coalition Ids to be used. | Coalition Ids to be used. | ||
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}} | ||
− | |notes= | + | |notes= In Single Player without an aircraft selected you can see objects assigned to display for coalitionId 0. In multiplayer only shapes assigned to id -1 and your coalition will be visible. |
− | |||
− | In Single Player without an aircraft selected you can see objects assigned to display for coalitionId 0. In multiplayer only shapes assigned to id -1 and your coalition will be visible. | ||
}} | }} | ||
− | [[Category:Singleton Functions| | + | [[Category:Singleton Functions|circleToAll]] |
+ | [[Category:Game Patch 2.5.5|circleToAll]] |