Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

OutOfComms Strike A/C at range

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> OutOfComms Strike A/C at range Page: [1]
Login
Message << Older Topic   Newer Topic >>
OutOfComms Strike A/C at range - 1/6/2022 2:38:54 PM   
Parel803

 

Posts: 579
Joined: 10/10/2019
From: Netherlands
Status: offline
Good afternoon,
I tried to duplicate P.Catcomb's video about the AC being out of comms on X distance during a strike mission. They go out of comms but I see a small vector like icoon staying on the screen, on there position, in there group formation. When they strike it looks like I see the results right away, as were in the video that is shown when AC come back in comms.
Tried to put as many visual settings off as possible. If someone has the time the give it a quick look that would be great. Jusy like to know if it's on my game or in the game for all.
I'm on the latest beta update.

Best regards GJ

Extra info. Later on I put a friendly radar in, should they keep track of the strike despite being out-of-comms? I get a lot of new air contact messages but no track on my screen.
I apologize that it's in the wrong forum.

Attachment (1)

< Message edited by Parel803 -- 1/6/2022 2:53:36 PM >
Post #: 1
RE: OutOfComms Strike A/C at range - 1/8/2022 5:58:02 PM   
Parel803

 

Posts: 579
Joined: 10/10/2019
From: Netherlands
Status: offline
Good afternoon, A question if I may.
I got (from the video) working:

local ac = VP_GetSide({side='Blue'}).units
local OriIffOff = VP_GetUnit({guid='P7ML9T-0HMEH3AE60GV8'})
for k,v in ipairs(ac) do
local distIff = Tool_Range(v.guid,OriIffOff.guid)
print (distIff)
if distIff > 125 then
ScenEdit_SetUnit ({guid=v.guid,OutOfComms='True'})
else
ScenEdit_SetUnit ({guid=v.guid,OutOfComms='False'})
end
end

The question is how to get 4 units (on base) instead of the side. Cannot get it working (Errors and Nil). Side is Blue, names are Viper#1 to 4.
Hope someone has some time to help me out.

best regards GJ

(in reply to Parel803)
Post #: 2
RE: OutOfComms Strike A/C at range - 1/8/2022 6:03:01 PM   
Parel803

 

Posts: 579
Joined: 10/10/2019
From: Netherlands
Status: offline
Sorry for inconvinience but got it workin with:

local ac ={
{name = 'Viper #1', guid = 'P7ML9T-0HMEH3AE60I4A'},
{name = 'Viper #2', guid = 'P7ML9T-0HMEH3AE60I4U'},
{name = 'Viper #3', guid = 'P7ML9T-0HMEH3AE60I5I'},
{name = 'Viper #4', guid = 'P7ML9T-0HMEH3AE60I66'}
}


local OriIffOff = VP_GetUnit({guid='P7ML9T-0HMEH3AE60GV8'})

for k,v in ipairs(ac) do
local distIff = Tool_Range(v.guid,OriIffOff.guid)
print (distIff)
if distIff > 125 then
ScenEdit_SetUnit ({guid=v.guid,OutOfComms='True'})
else
ScenEdit_SetUnit ({guid=v.guid,OutOfComms='False'})
end
end

If there is a better way then I'm glad to hear it of course.
regards GJ

(in reply to Parel803)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> OutOfComms Strike A/C at range Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.938