Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

possible bug: 1.11 SR4 - LUA EMCOM

 
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 >> Tech Support >> possible bug: 1.11 SR4 - LUA EMCOM Page: [1]
Login
Message << Older Topic   Newer Topic >>
possible bug: 1.11 SR4 - LUA EMCOM - 9/20/2016 7:34:21 AM   
snowburn


Posts: 188
Joined: 9/24/2013
From: Bovril, Argentina
Status: offline
Hello!

i think i've found a bug, my event SAM TRAP 1 fires and executes the following LUA Script:
ScenEdit_SetEMCON('Unit', 'c96a1b57-17be-401a-9234-397b2c57998f', 'Radar=Active')

this causes the EMCOM of the unit: SAM Bty (SA-2f Guideline [S-75M Volkhov]) to change to active (you can check this using Control + F9) but the Spoon Rest Radar doesnt turn on.

i've attached the scenario where im having the problem, you can test it playing as irak and spawning an enemy AC near the trigger area.

also i've two questions:

-how can i using LUA change the RoE: Weapon control status: air from HOLD to FREE?
-why is #2697 il-76MD Candid B [Baghdad-2/Adnan AEW] clasified as transport instead of AEW?

Thanks :)

Attachment (1)

< Message edited by snowburn -- 9/20/2016 7:54:28 AM >
Post #: 1
RE: possible bug: 1.11 SR4 - LUA EMCOM - 9/20/2016 12:17:39 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
If you tick the unit obeys EMCON, it will turn on the Radar; does not show a tick box on the radar sensor. [Can't recall if having the EMCON ticked is required for the function to work, but it does.]

This would make the unit go free for air:
ScenEdit_SetDoctrine({guid='c96a1b57-17be-401a-9234-397b2c57998f'}, {weapon_control_status_air=0})
---the other values are numbers as well

< Message edited by michaelm -- 9/20/2016 12:46:07 PM >


_____________________________

Michael

(in reply to snowburn)
Post #: 2
RE: possible bug: 1.11 SR4 - LUA EMCOM - 9/20/2016 3:00:35 PM   
mikmykWS

 

Posts: 11524
Joined: 3/22/2005
Status: offline
quote:

-why is #2697 il-76MD Candid B [Baghdad-2/Adnan AEW] clasified as transport instead of AEW?


Data entry error most likely.

Fixed!

Mike

_____________________________


(in reply to michaelm75au)
Post #: 3
RE: possible bug: 1.11 SR4 - LUA EMCOM - 9/21/2016 6:06:55 AM   
snowburn


Posts: 188
Joined: 9/24/2013
From: Bovril, Argentina
Status: offline
michaelm and mikmyk: Thanks a lot!

(in reply to mikmykWS)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> possible bug: 1.11 SR4 - LUA EMCOM 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

1.266