OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Siber Fox on 06 Sep 2003, 10:22:11

Title: Real problem with objectives
Post by: Siber Fox on 06 Sep 2003, 10:22:11
I got a problem. (duh). I have it so that they show up in the map breifing, but it will never check them off. I tried obj1=ture in the On activation field, and On Deactivation field but it didnt work. Can anyone help?
Title: Re:Real problem with objectives
Post by: Knut Erik on 06 Sep 2003, 11:19:52
Try this  ;)

"1" objStatus "Done"
This should tick off objective 1

"2" objStatus "Done"
This should tick off objective 2

And so on.......

"1" objStatus "Failed"
This makes objective 1 fail

"1" objStatus "Hidden"
This hides objective 1

"1" objStatus "Vissible"
This makes objective 1 become vissible again
Title: Re:Real problem with objectives
Post by: GrimMonkey on 06 Sep 2003, 17:24:46
I hope you are aware that the lines to make objectives hidden go in a file called init.sqs, and it has to be called that :).

Also, the line to make objectives visable is: "objective#" objstatus "Active"