VTOL VR

VTOL VR

What a save! Sep 17, 2019 @ 2:45pm
Mission editor Help on cancelling an objective
Hi.
Would any mission editor guru help me?

I'm creating a mission where the player's objective is to pick up some soldiers, but when he reaches a waypoint, I want another objective to start and the pick up one to be cancelled.

The problem I am having is that upon reaching the waypoint, the game thinks the pick up objective has failed, hence the mission is finished (the board on your left wrist pops up)

I tried everything I know:

-Uncheck the pick up objective as required
-Adding an event where the pick up objective is considered completed when reaching the waypoint
-Adding an event where the pick up objective is considered cancelled when reaching the waypoint
-Adding an event where upon reaching the waypoint, the next objective begins either if the player completes or fails the non-required pick up objective.
-Uncheck the pick up objective for every prerequirements list for all the next objectives on the mission
-Offering my soul to the devil

Nothing worked and I keep having the popping up board. Don't know what else to do.

Am I missing something?
< >
Showing 1-9 of 9 comments
FocusNotice Sep 18, 2019 @ 12:27am 
Hey I can help this!

So I’m the creator the “Alaska: Blood & Oil” campaign and I had similar experience

So before the objective that you make the player go pick up troops you need to add a waypoint task to the objective before it.

So it’s hard to explain but I will do my best.

Let’s say you have three objectives

1) Take off
2) Pick up troops
3) don’t pick up troops do something else

I’m assuming this is a very simple version of what your asking

Instead of making 2 an actual object
Make a fake one by adding a task to the first objective (take off)

Add a task to the “take off objective “ under completed
And pick system then send gps waypoint (add the waypoint of where u want the player to pick the troops up from)

So when the player completes take off the gps will tell him to go to the pick up zone. You can add audio file telling the pilot to pick some troops up.

Then go to the trigger menu under events and add a proximity trigger where you want a new objective to start. And adjust the trigger accordingly and add a task below to trigger another objective

Make sure the new objective has the triggered option highlighted so that the proximity trigger will start it.

Let me know if this helps.

When making complicated objectives always try and play around with triggering things from the objective to events back to objectives
It makes it easier to do more complicated missions.



What a save! Sep 18, 2019 @ 12:51pm 
Ok, I can see your approach working.
I will try it, although it looks like patching the game to carry on what seems to be a bug.

The ''Cancel objective'' option should cancel the current objective (duh), so the game automatically looks for the next objective on the list rather than considering the mission as failed. Should work this way.

For consistency, I would prefer to find a way for the pick up thing to be an objective instead of a GPS coordinates popping up.
Will keep you posted if I find a way
langersuk Sep 18, 2019 @ 3:20pm 
I have successfully cancelled an objective without the game failing me. It literally just removes the objective from the list.
Are you sure it's actually failing you?Is the board popping up with red writing on the objective or is the game ending because there is no objective running?

Once the first objective has started the game must always have an objective running or it will bring up the board. I suspect your subsequent objective is not starting when the pickup objective is cancelled
Last edited by langersuk; Sep 18, 2019 @ 3:22pm
langersuk Sep 18, 2019 @ 3:29pm 
I suggest that you create a proximity trigger set wherever you want the change of objective.
In the trigger have the action "begin objective" have it start your new objective.
Then on your new objective go to the "on objective start" section (can't remember what it's called) and place an action cancelling the pickup objective.

Hope that makes sense. I will be back on my computer from Friday to help if need be.
What a save! Sep 19, 2019 @ 2:11pm 
Hi.
Sorry for late reply.

Yeah, there is always an objective running. When the board pops up it highlights in red the pick up objective (meaning it's failed).
I can select 'continue to flight' option and when I complete the rest of the mission I can see on the log all of the other objectives were successfully started and completed.
langersuk Sep 19, 2019 @ 5:20pm 
hmm...that's interesting. Going to give it a go in the editor myself tomorrow to see if I can replicate it. That certainly doesn't sound like it's working as intended
Last edited by langersuk; Sep 19, 2019 @ 5:21pm
langersuk Sep 20, 2019 @ 7:25am 
I have created a little scenario similar to the one you mentioned and it works as intended. Would you mind popping onto the Discord server https://discord.gg/aqbVx7u and sharing you VTS file with me? I will take a look and see what is going on.
What a save! Sep 20, 2019 @ 1:03pm 
I actually solved the mystery :-)

Turns out the soldiers needed for the pick up mission were not spawned by the time the objective starts, no wonder the game considered as failed if there is nothing to pick up.

Although this looks like an stupid mistake, it has its reasons. I wanted to save framerates to the player by keeping some unneeded assets 'hidden' and spawn them only when needed.

I digged to the bottom of the problem until I found the 'spawn units' event came up too late.

Now that my soldiers spawns before the mission begins, the board no longer pops up.

Curious thing is that once I complete all the objectives and the mission finishes, the pick up objective is still shown as failed (in red) in the log, despite I just wanted it to be cancelled, not failed.

Is a cancelled objective considered as failed? I thought there was two different things.
langersuk Sep 20, 2019 @ 1:58pm 
Oh, yes! That shouldn't be the case. I shall raise it with the Dev.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Sep 17, 2019 @ 2:45pm
Posts: 9