Difference between revisions of "DCS func circleToAll"
From DCS World Wiki - Hoggitworld.com
| (One intermediate revision by the same user not shown) | |||
| 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|circleToAll]] | [[Category:Singleton Functions|circleToAll]] | ||
[[Category:Game Patch 2.5.5|circleToAll]] | [[Category:Game Patch 2.5.5|circleToAll]] | ||
