So I'm working on a mission with several targets/objectives, and I want the player return to base to rearm within the mission. I want the mission to end when every enemy building/unit is destroyed and after the player landed at the base. Does anyone have some hints of how to make a logic for that? 🤔 Sometimes building the logic is a pain in the ass... If that, then this, before that happens it must be, after that...🤷🏻♂️ 🥴
#End of mission logic
1 messages · Page 1 of 1 (latest)
@ember coyote
If you land twice you will win, that’s not the objective. Let’s try that instead :
In this case you destroy the 5 targets. Once destroyed, if you land, you win
Of course you have to set « targetdestroyed » to each target’s death event
And replace « 5 » by the number of targets
This should accomplish the same thing
I set 2 since it was the smallest variable i could do
What appens if you just land twice without destroying enemies?
Good point
But I assumed that landing wouldn’t be possible until the end
Actually i just realized i fudged it
Since there’s rearm
If it works it is ok despite the way to do it
Hey there, thank you for your answers. @ashen iris this doesn't work because what @torn nymph said... @torn nymph i have set up events like you mentioned but it doesn't work... I have to many enemies... Does enemy buildings have to be counted too? 🤔
Is there the right death event on each enemy ?
Add « targetdestroyed » to each enemy death event