Jump to content
Sign in to follow this  
RonnieJ

How do I make a next objective?

Recommended Posts

What I am trying to do is giving the mission some flow... so some objects are not visible to the beginning... so when some trigger happens I want some markers to apear together with some units... any "easy" way of doing this? I havent really tried to "hide" stuff yet... :confused:

Not sure how I can set theese objectives pop in the mission briefing either... they have to be hidden at first and pop on a trigger...

Anyone able to help me with this?

thx.

Share this post


Link to post
Share on other sites

You don't hide anything, you create units and tasks as needed.

Share this post


Link to post
Share on other sites

Hi,

For hidding markers, i put in init.sqf :

"markername" setMarkerAlpha 0;

When you want this to appear put in the trigger :

"markername" setMarkerAlpha 1;

Don't know if it's conventionnal but it works !

For hidden objectives, you have to create several briefing.sqf and call them in a trigger.

Share this post


Link to post
Share on other sites

Place an empty marker on the editor and name it, for example: mkrObj3. Now in the missions folder you should have a folder named Briefings in which you should have your Briefing.sqf which is called at the start. make a new sqf file for example NewOrders.sqf.

tskObj3 = player createSimpleTask ["Got another job for you"];


tskObj3	setSimpleTaskDescription ["Your not finished yet lads
go kill some more Dudes", "Got another job for you", "More stuff to Do"]; 

//sets a marker on the map
tskObj3 setSimpleTaskDestination (getMarkerPos "mkrObj3");

player setCurrentTask tskObj3;

and call it with a trigger condition e.g:

taskCompleted tskObj1 AND taskCompleted tskObj2;

and On Act

nul=[] execVM "Briefings\NewOrders.sqf";

or you could call in a waypoint if you want. So on activation what you get is, in the map a new task called "Got another job for you" and objective maker which is set as the current task and the HUD title "More stuff to Do" in game.

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  

×