Jump to content

Tripping a trigger using destruction of train


Recommended Posts

Posted

I have no idea if this is even possible, given the nature by which trains are created in the ME, but has anyone by chance experimented with the possibility of trying to fire a trigger using, say, a counter, against a train?  What I'd like to do is detect how many cars are destroyed (including the locomotive) and then trip a counter after a certain number are killed - but given that the whole train is a unit unto itself, will this even work?

Posted

Like you said the train is a unit, so I don't think this would work....haven't tried it.

 

I'd just keep it simple and use an "on killed" message from the train, do a counter set to 1, and forget about the individual cars.

Posted

Won't work.

The waggons do not even fire an 'on damaged' or 'on killed'
You can destroy all waggons and let the locomotive untouched and the train is 100% 'healty'

All that counts is the locomotive.

 

Deci

  • Upvote 1
Posted
4 hours ago, JG4_Deciman said:

Won't work.

The waggons do not even fire an 'on damaged' or 'on killed'
You can destroy all waggons and let the locomotive untouched and the train is 100% 'healty'

All that counts is the locomotive.

 

Deci

On a real war theater this way of thinking is not too wrong after all. The locomotive had the value, cars were optional. If you have a working locomotive you have a train just add cars. But without a locomotive you can have as many cars as you want there is no train.

Now this said some cars like troops and artillery or fuel cars had also some value, but as long as there was a loco in front.

I would love to have real trains that you can build by combining individual elements and link them. This would allow for multiple loco trains, or artillery cars in front of the locomotive to protect it when entering a town or village occupied by the enemy, and manage also the cases where part of the train is destroyed. Unfortunately as usual this is sure not a priority and should be under a meter high pile of more important dev stuff.

 

Posted
On 2/12/2020 at 3:42 AM, IckyATLAS said:

...I would love to have real trains that you can build by combining individual elements and link them. This would allow for multiple loco trains, or artillery cars in front of the locomotive to protect it when entering a town or village occupied by the enemy, and manage also the cases where part of the train is destroyed...

 

 

In a loosely-related odd coincidence that has nothing to do with the actual subject matter at hand, a related thought occurred to me while I was toiling away this last weekend in the ME as my beloved wife was sitting on the couch watching TV and talking away at me.   It struck me that building and testing missions with this editor is a modern-day equivalent of the stereotyped older guy who spends all his spare time in the basement setting up model train tracks with little towns and dioramas and stuff.  Or in our case, maybe it's closer to being like Gomez Addams of Addams Family fame, who built the fancy railroad setups with the bridges and all, only to set off a dynamite charge at the right time to destroy the train, with Uncle Fester cackling away in the corner...

 

:)

 

  • Haha 2
Posted

Thanks for the suggestions.  I couldn't get it to work at all, like all of you stated - only the locomotive is detected.  Which, honestly, as @IckyATLAS suggested, is kind of the way it would be looked at IRL.  I was just hoping for a bit more granularity in the ability to set up a scoring situation.

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