Jump to content

Dropped Cargo Containers, trigger works inside and outside of Translator Complex Trigger; what am I doing wrong?


Recommended Posts

VBF-12_Stele
Posted

Dropped Cargo Containers, trigger works inside and outside of Translator Complex Trigger; what am I doing wrong? 

 

I am trying to make a cargo container drop with a triggered message indicating success.

 

So far I've set up a Translator Complex Trigger with "Object Dropped Cargo Containers" checked. I add an event of "OnObjectDroppedCargoContainers" which targets the Trigger Timer (1 second delay). The Trigger Timer's target is a Translator Subtitle with the message saying the para-containers were dropped successfully in the zone.

 

This message works successfully when I release the containers over the the Translator Complex Trigger's cylinder zone (1500 meters). That's fine and that's what I want.

 

As a test, to try and break the mission, I've tried releasing the para-containers well outside the zone. I don't get a message, which is fine. However, if I enter the zone (empty cargo) the message kicks in even though that's not what I want.

 

I think I'm missing a step, or is something broken?

 

Thanks in advance.

Posted

Report "on cargo containers dropped" to "deactivate - complex trigger"

It will still fire to the subtitle MCU if dropped inside the trigger area.

 

 

The trigger is reacting basically to a "bingo cargo containers" condition, not cargo containers landing in the trigger zone apparently.

 

  • Like 1
  • Upvote 1
Posted

Similarly, a "bingo bombs" report in the aircraft properties will fire immediately after takeoff if you don't load any bombs onto the aircraft.

In other words the trigger is reacting to the state of having no bombs, not having dropped all the bombs.

Does that make sense?

  • Like 1
  • Upvote 1
VBF-12_Stele
Posted

Thanks. This actually makes sense. Do you suggest an alternative to this? Im trying to make this a primary goal in a mission.

SCG_Schneemann
Posted

Like Gambit said, maybe something like this: Plane has OnBingoCargo event to deactivate complex trigger. Set timer for longer than Subtitle timer, so it doesn't shut it all off. If cargo is dropped early, it deactivates the trigger. If cargo is dropped in the zone, it triggers the Subtitle, then deactivates the complex trigger. Haven't tested it but the logic should work. Probably set the timer to about 5 seconds - you aren't looking at exact meters, just gross "did they drop in the right area".

 image.thumb.png.a0efcf894e06de4445fcdc893e728095.png

Posted

Try this

2 triggers in the same spot.

One set to 'on entered' and active.

The second set to 'cargo dropped' and INACTIVE.

 

Set the entered trigger to activate the 'dropped' trigger.

Also make the entered trigger smaller than the dropped trigger (to mitigate the overlap factor since it takes a few seconds to drop

all of the containers) 

 

 

Now set 'dropped cargo containers' in the airplane properties to deactivate the entered trigger.

This way if the cargo is dropped outside of the entered trigger, it won't be possible for the dropped trigger to activate.

 

Thats the best I can come up with.

Really - if we're talking single player, an AI flight leader goes a long ways toward making missions unfold as planned.

If you're trying to get a player to drop all cargo in a small zone with little buffer, that's going to be hard to pull off.

I'm away from my computer or I'd build it and post.

VBF-12_Stele
Posted

Schneemann and Gambit, thanks for the input. I'm really learning how creative and useful the mission editor is now. It was giving me a headache at first, but after spending some time with it, it is starting to make sense.

 

Schneemann, I tried your setup and it seems to work just fine. Gambit, yours makes a lot of sense, but I couldn't get it to work properly. I'm still interested in saving these as Groups for future use and reference.

 

Thanks!

SCG_Schneemann
Posted

Cool. Only thing is you may need to reactivate it unless its a single player mission, or ANY drops means success.

 

Good luck!

VBF-12_Stele
Posted

Yes, its a single player mission for the JU-52; part of a scripted campaign I'm working on.

Posted
4 hours ago, VBF-12_Stele said:

 

Schneemann, I tried your setup and it seems to work just fine. Gambit, yours makes a lot of sense, but I couldn't get it to work properly. I'm still interested in saving these as Groups for future use and reference.

 

Thanks!

 

I'll try and find time to build it when I get back to my computer later tomorrow.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...