MOOSE - Mission Object Oriented Scripting Framework - Page 130 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 10-16-2018, 03:59 PM   #1291
Delta99
Member
 
Delta99's Avatar
 
Join Date: Jan 2017
Posts: 299
Default

Quote:
Originally Posted by Johnny_Rico View Post
the reload method you suggest does not work 100% of the time
the one i suggested does
I've loaded over 1000 times minimum and I have never had a problem. Just saying!!
__________________
My Missions: Valley Patrol Mission :: Valley Escort Mission :: A2A Engagements
Delta99 is offline   Reply With Quote
Old 10-16-2018, 04:01 PM   #1292
Delta99
Member
 
Delta99's Avatar
 
Join Date: Jan 2017
Posts: 299
Default

That looks correct. Did it work?

Quote:
Originally Posted by Sierra99 View Post
Hey Gents...
Lets say in this example I want to use a polygon to define the orbit instead of a Zone.
A2A_GCICAP_Red:SetSquadron( "TAB-1", AIRBASE.PersianGulf.Shiraz_International_Airport, { "TAB 1 F-5E", "TAB 1 F-7M", "TAB 1 F-14A", "TAB 1 MiG-29A" }, 24 )
A2A_GCICAP_Red:SetSquadronCap( "TAB-1", ZONE:New( "ORBIT_1" ), 4000, 10000, 500, 600, 800, 900 )
A2A_GCICAP_Red:SetSquadronCapInterval( "TAB-1", 1, 60, 1200, 1 ) -- Starts a 2 CAP after 300 and finishes after 1200 seconds.
Would the correct syntax be:

A2A_GCICAP_Red:SetSquadron( "TAB-1", AIRBASE.PersianGulf.Shiraz_International_Airport, { "TAB 1 F-5E", "TAB 1 F-7M", "TAB 1 F-14A", "TAB 1 MiG-29A" }, 24 )

A2A_GCICAP_Red:SetSquadronCap( "TAB-1", ZONE_POLYGON:New( "ORBIT_1", GROUP:FindByName( "Orbit 1" ) ), 4000, 10000, 500, 600, 800, 900 )

A2A_GCICAP_Red:SetSquadronCapInterval( "TAB-1", 1, 60, 1200, 1 ) -- Starts a 2 CAP after 300 and finishes after 1200 seconds.

???
__________________
My Missions: Valley Patrol Mission :: Valley Escort Mission :: A2A Engagements
Delta99 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:04 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.