OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ilkka on 08 Jan 2003, 19:16:18

Title: objectives
Post by: Ilkka on 08 Jan 2003, 19:16:18
How can i hide objectives from briefing and then make them appear during the mission? If i put "1"objstatus"hidden" i still see the objective when mission start and i see the briefing.
Title: Re:objectives
Post by: silent1 on 08 Jan 2003, 19:33:26
  You need to make a init.sqs
To do this, open up Notepad and save it  in:
 Program Files>Codemasters>Operation Flashpoint>Users>Missions

Save it as: init.sqs

Now, write this:

   "#" ObjStatus "HIDDEN"

Where # is the number of the objective.

Back in the editor, when you need to make the objective appear, write this:

    "#" ObjStatus "ACTIVE"

Hope it helps
Title: Re:objectives
Post by: Ilkka on 08 Jan 2003, 19:59:25
No that didn`t help. I still see those objectives.  :-\