I’d like to have a delay before an objective is locked and defenders cannot recapture it.
That works but it doesn’t check if the status of the specific objective had changed when a timer reaches zero. It’ll be locked no matter who controls it.
So I tried to add another Objective Status behind Delay but that crashed the editor.
What you're literally telling the kismet to do is this, I'll explain in a scenario:
If attackers hold objective, Display Text 1, Activate timer, Timer end, Once timer ends Display Text 2, and Deactivate Objective. It's like a line of commands that happen, not dependent on the variables you want.
The only variable is who controls the objective at the start, which means if this sequence is activated or not. You're aren't actually telling the kismet anything except to display these texts after a certain time if the attackers hold the objective, and then deactivate. The sequence won't stop even if the defenders recapped the objective during the timer. It'll still go on, and then deactivate the objective. You don't have a the variables you want in order to do what you want. You need this:
I can't remember off the top of my head what all the actors in the kismet are.
Team A: Attackers
Team B: Defenders
(Hard to create a multivariable & outcome equation using arrows and text)
Main Sequence
Objective Status: Control= Team A->Display Text1 to Team B-> Delay ->
This is where you'd branch off into to different sequences depending on the variable:
Sub-Sequence A:
Timer end:
(Variable A) Objective Status: Control= Team A ->ActiveObjective
(deactivate)->DisplayText2-> (activate next series of objectives)
Sub-Sequence B:
Timer end:
(Variable B) Objective Status: Control= Team B, (Sorry a bit tired, and SDK deprived there should be some sort of actor that continues to have the objective activated, or not.) ->attach this arrow to the start of Main Sequence at the actor: Objective Status: Control=Team A
Basically Sequence B is kind of a loop, which is what you want to happen in your case if the defenders keep counter-attacking successfully.