OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mr.BoDean on 16 Jun 2003, 12:32:08

Title: Hidden Objectives
Post by: Mr.BoDean on 16 Jun 2003, 12:32:08
 I followed Snypir's guide for Objectives/Init.sqs but I can't get it to work properly . Plus, an extra "blank" objective shows up on the Plan.  Hmmm   ??? I know it's the right objective since it's in the right order (#3) and I can just hide the #5 (blank) when I figure it out.


Here is the Init.sqs file:

PapaBear=[West,"HQ"]

"3" ObjStatus "HIDDEN"

"AR" SetMarkerType "EMPTY"

exit

Any ideas?  :-\
Title: Re:Hidden Objectives
Post by: Mr.BoDean on 16 Jun 2003, 13:53:24
Well, it's like this, Bo ....  :D

Actually , I figured it out on my own, so I'll answer it for those who have had this problem. I was using a tool called OFP Tool Collection to create the briefing.html file . Turns out it only lists each Objective as OBJ_ , even though it keeps count of them . And for some unknown reason, it just added an extra OBJ_ in there , so I named them (OBJ_1, OBJ_2 ,etc.) and deleted the extra one and presto!    8)