Jump to content
Sign in to follow this  
Horner

Multi Objective Missions

Recommended Posts

Hi, I was just wondering how to make missions with multiple objectives. For example in Domination you have to seize one town then it will complete, and then you go to the next. I'm wondering how you do that?

Share this post


Link to post
Share on other sites

you would need to put a trigger down with: (or write a script)

condition of trigger:

taskCompleted task1

OnAct: (for example)

tsk2 = player createSimpleTask ["Patrol a Town"];

tsk2 setSimpleTaskDescription ["There are reports of armed men inside the town", "Patrol", "Patrol"];

tsk2 setSimpleTaskDestination (getMarkerPos "mkrobj2");

tsk2 setTaskState "CREATED";

Once task1 is complete, the next task would be created.

Share this post


Link to post
Share on other sites

Would I need to create a waypoint or how do I actually assign task 1?

---------- Post added at 06:26 PM ---------- Previous post was at 06:11 PM ----------

Wait nevermind.

Share this post


Link to post
Share on other sites

Thanks.

---------- Post added at 04:42 PM ---------- Previous post was at 04:39 PM ----------

Hold on this sounds dumb but what do I put this in? Is it the Description.ext or a trigger or what?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×