OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: stephen271276 on 18 Sep 2009, 16:50:17

Title: Hidden objectives
Post by: stephen271276 on 18 Sep 2009, 16:50:17
Ive forgotten how to have hidden objectives/markers in game ie when you destroy or reach a certain obj the next one appears on the map??
Title: Re: Hidden objectives
Post by: Blacknite on 18 Sep 2009, 23:08:59
For objectives:
"1" objstatus "HIDDEN" - to make it hidden
"1" objstatus "ACTIVE" - to make it appear

For markers:
I dont remember, but I think its like the same above, this "hidden" I believe.

And if I remember correctly, you gotta put it in your description.ext or your init file if you want it hidden during the brief.
Title: Re: Hidden objectives
Post by: bardosy on 19 Sep 2009, 06:58:27
It was the old, html ways.... when objectives/tasks was listed in a html file. But now, you can add new objectives anytime in the mission with addSimpleTask. So no need hidden objectives, because you don't add that objective to the player, but when you want "un-hide", just add it.
Title: Re: Hidden objectives
Post by: stephen271276 on 19 Sep 2009, 20:15:39
Thanks Bardosy.. addSimpleTask???? how does this work??? doI type it in the innit field of a triggeR?

example for a noob please, lol
Title: Re: Hidden objectives
Post by: bardosy on 21 Sep 2009, 09:07:45
Use the Search button above... ;)

Briefing tutorial (http://www.ofpec.com/forum/index.php?topic=33468.0)
Title: Re: Hidden objectives
Post by: stephen271276 on 21 Sep 2009, 12:43:10
thanx man!