Jump to content

Recommended Posts

Posted

Started playing with adding the 'toggle' to the units_in_zones script. Here is a link to documentation --

http://wiki.hoggit.us/view/Units_in_zones

 

This is the script --

mist.flagFunc.units_in_zones{

units = {'[red][plane]'},

zones = {'Supply 1 Zone'},

flag = 117,

zone_type = cylinder,

toggle = true

}

 

Problem is that Flag 117 is going True, but not back to False when the a/c leaves the zone.

 

I am using Mistv2_0.lua. Is that why it is not working? Is there a later release of Mist?

 

 

I'll post a test mission later, after work, if it's needed.

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Posted

Ummm, I see a Mist 3 link about three posts down in the MIST thread... I'll try that later.

http://forums.eagle.ru/showthread.php?t=98616

 

Hoggits wiki has this at the top of the section -- 'Added with: Mist 1.0' -- but I thought the toggle was a later addition.

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Posted

The function was first implemented with Mist v1, but the toggle parameter was added with v3.

 

I can't update speed's initial post so it will remain out of date until he gets back.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

Thanks, Grimes.

 

Speed, I hope all is well your way...

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...