DCS option engagementRange: Difference between revisions
From DCS World Wiki - Hoggitworld.com
Created page with "{{Template:DCS_tasking |tName= Engagement Range Restriction |vNum= 2.5.6 |type= Option |for= Ground Vehicles |avail= Everything |desc= Defines th..." |
No edit summary |
||
| Line 29: | Line 29: | ||
|enum= AC_ENGAGEMENT_RANGE_RESTRICTION= 24 | |enum= AC_ENGAGEMENT_RANGE_RESTRICTION= 24 | ||
|exam= | |exam= The following will set the engagement range to a random value between 30 and 70 percent the range of the sam. | ||
local gp = Group.getByName("SA10") | |||
local con = gp:getController() | |||
con:setOption(24, math.random(30, 70)) | |||
|notes= | |notes= | ||
Latest revision as of 00:31, 19 June 2026
