Jump to content

Recommended Posts

Posted

Hi! New to the editor (well, beyond just placing down bad guys to shoot at...)

 

Was making a (simple?) mission for A10C where you have to meet up with an armor unit under attack from different directions. the mission basically (in theory) checks if one of the player groups have entered a zone, sets a flag, and the rest of the bad guy spawns based on a 'Time since flag' condition or a 'Group dead' condition.

 

My question is with the usage of flags. When you use the 'Time since flag' condition, what is that relative to? Time since the flag=true? or time since the flag changed value? or what?

 

My issue is when iI test the mission, the initial radio message I have when a player reaches the zone will play correctly (when the player reaches the zone) but the 'time since flag'-based stuff (unit activation, radio messages for each attack) seem to start from mission start. For example, I have a two minute delay on the zone being triggered and the first attack, but it seems like in testing the message for that attack (which accompanies the activation of the attack group) is triggered 2 minutes after mission start.

 

I went back and checked and (paraphrased for brevitys sake) my flag system is something like this.

 

Mission Start-Message to coalition "briefing message"

 

Players reach AO- group1 OR group2 OR (etc) is in zone 'AO'>message to coalition "welcome" , 'set flag 1=true'

 

1st attack-time since flag 1, 120>activate group 'atk1',message to coalition 'attack 1'

2nd attack-time since flag 1, 780>activate group 'atk2', message to coalition 'attack2'

etc etc

 

so what i tried to do is get stuff to spawn based off of time since flag, but it doesnt seem to be working. Just trying to figure out if I'm doing this right.

Thanks!

Posted

Time Since Flag is from the last time the flag went True.

 

All of my missions use this to show a repeating message. Check out any one of them here --

Wrecking Crew Projects

 

Check out the Back To School mission and the events where General Vaz Arrives and Lands.

 

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...