I've got a mission which involves two Terran cruisers fighting each other at start. This fight gets interrupted by two Vasudan cruisers, and the warring Terran cruisers agree to a cease-fire and engage the Vasudans. They prevail, but the cruiser which comes out from the mission in a better shape will break the cease-fire and blow the other to bits.
I need two events for this: One that comes true if Cruiser #1 has more hitpoints left, the other if it's Cruiser #2. Then, through is-event-true-delay, some more events will come true that makes sure that the breaker of the cease-fire will eventually emerge victorious.
And here's the SEXP tree that should theoretically work, but it doesn't.
Cruiser 1 wins
-and
--is-destroyed-delay
---Vasudan cruisers
---0
-->
---hits-left
----Cruiser 1
---hits-left
----Cruiser 2
I figured out that (through temporarily making a directive to it) if I destroy my own cruiser (Cruiser 1), the event will return false. However, in every other scenario, it remains incomplete.
I also tried and-in-sequence, but it doesn't even display the directive.
Can anyone help?