Jump to content

Recommended Posts

Posted

Has anyone figured how to make a looping trigger with set interval. Like this:

 

Unit enters zone, and after that fire a flare every two minutes.

 

Sure, it is easy to make it fire the flares continuously once per second, but there must be another way. A quick workaround might be to make a second trigger area far away from the battle and make another unit drive loops in and out to the area.

 

Also, I haven't figured how to make a triggerzone that works only for ground units and will not activate with air units (and vice versa)

  • Like 1
Posted (edited)

Switched Condition!

 

please.......................................................read other entries and use search.

 

http://forums.eagle.ru/showthread.php?t=47877&highlight=mission+editor+tips

 

http://forums.eagle.ru/search.php?searchid=3349359

 

also rtm. Switched Condition is explained well in there. Failing all of this, go to the 74th vfs 'The Flying Tigers' server, log in and note the use of the switched condition for damaged aircraft when approaching home plate to land.

 

'T'

Edited by Tyger

 

Come pay us a visit on YouTube - search for HELI SHED

Main Banner.PNG

Posted

I noticed an elegant trigger made by Mbot in one of the campaigns.

Unit in zone> Flag X On

Starts the loop

 

Switched Condition> Time since Flag X is Y time> Flag X Off, Flag X On

That will loop it just fine.

 

User part of group in zone to specify units from which group you want to activate a trigger.

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
I noticed an elegant trigger made by Mbot in one of the campaigns.

Unit in zone> Flag X On

Starts the loop

 

Switched Condition> Time since Flag X is Y time> Flag X Off, Flag X On

That will loop it just fine.

 

User part of group in zone to specify units from which group you want to activate a trigger.

 

I use the switched condition a lot in all my missions, particulary emergency procedures at the homeplate, identification of friendly forces on the ground via smoke and also action for a sanitised area. I dont use the part of group in zone condition nor the part of coalition in zone condition, because my maps and missions are multiplayer. essentially this means i have to set each condition for EVERY player!!!! lets call it a labour of love!

 

We must hook up grimes. let me host you on our server and intro you to some of the missions i have written. I value your input or criticism.

 

I aould also like to seek council with regards to the sety failures action. Currently it seems this is not working?

 

Regards

 

'T'

 

Come pay us a visit on YouTube - search for HELI SHED

Main Banner.PNG

Posted (edited)

Once("kickstart loop") -> (desired condition) -> Set flag (X)

 

Switch Condition ("Restart/reset loop") -> Time Since Flag(X, desired time) -> Clear Flag (X), Set Flag(X), Do whatever action you want looped here

 

 

This works just fine. Just make sure the order of actions in the "Restart/reset loop" trigger is CLEAR FLAG first, and THEN SET FLAG.

 

Doh... this is exactly what Grimes already posted. Whatever. Here's another vote for it. It works.

Edited by Speed

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

Posted (edited)
set failures anyone?

 

Well I donno... maybe ED decided that the random failures that currently occur at 100X the real life rate and cannot be disabled is enough? :furious::furious: It gets to the point now, if my HUD just randomly turns off, or CADC just randomly fails.. I just eject. Or blow the aircraft up. I'm not going to play their game.

 

No, sorry to digress, I wouldn't know about set failure itself... if it doesn't work, obviously, that must be a bug. Worked fine in Black Shark.

Edited by Speed

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

  • Recently Browsing   0 members

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