Jump to content

function trigger.action.circleToAll draw no outline


Go to solution Solved by Flappie,

Recommended Posts

Posted

The function function trigger.action.circleToAll draw no outliene.

 

Following code draw below picture. You see, no outline.

local ref = trigger.misc.getZone("targetArea")
 trigger.action.circleToAll(-1 , 1, ref.point , ref.radius , {1, 0, 0, 0} , {1, 0, 0, .1} , 0 , true)
 
 
 local ref_1 = trigger.misc.getZone("targetArea_1")
 trigger.action.circleToAll(-1 , 2, ref_1.point , ref_1.radius , {0, 1, 0, 1} , {1, 0, 0, .1} , 0 , true)

 

nooutline.PNG

  • Solution
Posted

Hi. I think that's because lineType=0.

Try this instead:

local ref = trigger.misc.getZone("targetArea")
 trigger.action.circleToAll(-1 , 1, ref.point , ref.radius , {1, 0, 0, 0} , {1, 0, 0, .1} , 1 , true)
 
 
 local ref_1 = trigger.misc.getZone("targetArea_1")
 trigger.action.circleToAll(-1 , 2, ref_1.point , ref_1.radius , {0, 1, 0, 1} , {1, 0, 0, .1} , 2, true)

 

https://wiki.hoggitworld.com/view/DCS_func_circleToAll

---

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...