Jump to content

Recommended Posts

Posted

There is a faulty trigger in a mission I created that I can't seem to fix. It's probably premature to post this as bug in Mission Editor as it could be something I did to the trigger at some point. If anyone is inclined to have a look, it would be appreciated.

 

This is a simple multiplayer mission set up with cold and warm start A-10As and A-10Cs. If and when played as a single-player mission, I recommend using unlimited weapons.

 

Upon destruction of a house, a convoy of three trucks is created. The group is labeled "Getaway." This group becomes available for targeting and destruction after it enters a trigger zone labeled "Engage." If the group is not destroyed before it reaches a second trigger zone labeled "BreakOffAttack," a message is displayed and a sound file is played that says to break off the attack. This sound file is named "track08b.ogg."

 

However, if the group is destroyed sooner, a jeep is spawned, a message is displayed and a different sound file plays saying to stand by while the jeep is tracked. This sound file is named "track06b.ogg."

 

Here's the bug in my mission: When the group labeled "Getaway" is destroyed between the trigger zones, both of the above mentioned sound files are played simultaneously. The sound file named "track08b" should not be played in this scenario.

 

Short of rebuilding the mission from scratch, I tried a number of things to fix this. I made new trigger sequences and deleted the originals, I renamed the sound files and the trigger zones, all to no effect. There is some artifact in the underlying mission code, I believe, that I can't reverse.

 

Thanks in advance to anyone who has a look to see if they can offer any advice.

 

Sincerely,

Paul (a.k.a. Skeeter)

Hideout-V26.miz

Posted (edited)

It looks like track06b.ogg is played when FLAG 2 is set which happens when the Getaway group is dead and the other message is played when the Getaway group is in the zone BREAKOFFATTACK.

 

It is possible for the group to be in the zone and dead which could cause the duplicate message. It may not look like they are in the zone so maybe display a message when the zone is entered to confirm?

 

You could also use another flag to keep the two events mutually exclusive.

Edited by Sabre-TLA

F-15C-User-Bar-ACM.v2.jpg

MapleFlagMissions - Read Our Blog for Updates

Posted

Hi Sabre-TLA,

 

Thank you very much for taking time to look at this.

 

It looks like track06b.ogg is played when FLAG 2 is set which happens when the Getaway group is dead and the other message is played when the Getaway group is in the zone BREAKOFFATTACK.

 

That is correct

 

It is possible for the group to be in the zone and dead which could cause the duplicate message. It may not look like they are in the zone so maybe display a message when the zone is entered to confirm?

 

That's a good thought, but in this case I am killing the group well before they reach the second trigger zone when testing this.

 

You could also use another flag to keep the two events mutually exclusive.

 

This is a good idea. I'll try to rework the triggers and see if that clears the issue.

 

Again, I appreciate your time. The mission itself is not really affected by this, it's more of an annoyance. However, this might point to an underlying bug in Mission Editor.

 

Thanks,

Paul

  • Recently Browsing   0 members

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