Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Event Coding advice

 
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 >> Event Coding advice Page: [1]
Login
Message << Older Topic   Newer Topic >>
Event Coding advice - 9/8/2016 4:10:59 PM   
vettim89


Posts: 3615
Joined: 7/14/2007
From: Toledo, Ohio
Status: offline
SO in my Baltic On Fire scenario I had set up an event where if the WarPac lost a high number of amphibious ships, the AI would call off the invasion and pull back the AMPH TFs vice just sending them to their doom. I did this by using a Key value counting the number of LST/LSM sunk and when it reached the threshold, the three AMPH TF were assigned to a new mission ordering them back to safer waters. I was testing this and ran into a problem. The event was triggered when the sole surviving Polish LSM was sunk which also happened to be the last ship in the PRP AMPH TF. The event script then failed because it could not find the PRP AMPH TF because the group dissolved when the last ship was sunk.

Any ideas on how to get around this?

_____________________________

"We have met the enemy and they are ours" - Commodore O.H. Perry
Post #: 1
RE: Event Coding advice - 9/8/2016 5:35:05 PM   
mikmykWS

 

Posts: 11524
Joined: 3/22/2005
Status: offline
This is a perfect example of a question for the Command question and answer site. Post the code and the lua gurus will look.
http://qa.commandmodernairnavaloperations.com


Mike

< Message edited by mikmyk -- 9/8/2016 5:37:51 PM >


_____________________________


(in reply to vettim89)
Post #: 2
RE: Event Coding advice - 9/9/2016 10:54:39 PM   
vettim89


Posts: 3615
Joined: 7/14/2007
From: Toledo, Ohio
Status: offline
Thanks. Problem solved

_____________________________

"We have met the enemy and they are ours" - Commodore O.H. Perry

(in reply to mikmykWS)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Event Coding advice 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.125