Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
eaglezero6205

Briefing not working and Im matching a working Briefing.

Recommended Posts

Im doing a Briefing for a friend that I was certain I could adjust and make work however after doing everything right the Briefing is still not working and I'm matching a working Briefing from Arma2 Special Forces mission Snakeplain

I get a script error Line 8

waitUntil { !isNil {player} };

waitUntil { player == player };

player createDiaryRecord["Diary",["Operation Basen's Death","Situation:<br/>All right men listen up! <br/> We have infomation about one of the leaders of the Insurgents.<br/>His name is Basen Oblic.<br/>He needs to be located and neutralized before he can do anymore harm. <br/> Make sure you ID his body be for you radio it in.

<br/><br/>Directive: <br/>Okay heres how its going down. <br/>Wolf three will be heading into Chak chak. <br/>While Wolf two and Wolf actual will be heading to another area to investigate possible insurgent activity. <br/>After wolf three Investigates the town of Chak Chak. <br/>Once Chak Chak is cleared wolf three will join with the 7th Armored Divison.

<br/><br/>Mission: Find Basen Oblic and neutralize him.

tskkillBasen = player createsimpletask["kill Basen"];

tskkillBasen = SetSimpleTaskDescription["Neutralize Basen Oblic.", "Kill Basen", "Kill Basen"];

tskKillBasen = setsimpletaskdestination (getmarkerpos "OBJ_D");

Line 8 is this------> tskkillBasen = player createsimpletask["kill Basen"]; <--------- It keeps saying I need a ] on line 8 but I took the above from a working briefing on my mission that I released on Armaholic and it works fine.

yet this brieinf refuses to work. Did the new update for Arma change how we have to write Tasks for a briefing? Im lost I matched it word for word All i did was change his text.

Share this post


Link to post
Share on other sites

There were a few errors, so try this:

waitUntil { !isNil {player} };
waitUntil { player == player };

player createDiaryRecord["Diary",["Operation Basen's Death","Situation:<br/>All right men listen up! <br/> We have infomation about one of the leaders of the Insurgents.<br/>His name is Basen Oblic.<br/>He needs to be located and neutralized before he can do anymore harm. <br/> Make sure you ID his body be for you radio it in.
<br/><br/>Directive: <br/>Okay heres how its going down. <br/>Wolf three will be heading into Chak chak. <br/>While Wolf two and Wolf actual will be heading to another area to investigate possible insurgent activity. <br/>After wolf three Investigates the town of Chak Chak. <br/>Once Chak Chak is cleared wolf three will join with the 7th Armored Divison.
<br/><br/>Mission: Find Basen Oblic and neutralize him."]];


tskkillBasen = player createsimpletask ["kill Basen"];
tskkillBasen setSimpleTaskDescription ["Neutralize Basen Oblic.","Kill Basen","Kill Basen"];
tskKillBasen setsimpletaskdestination (getmarkerpos "OBJ_D"); 

Edited by Strikor

Share this post


Link to post
Share on other sites

WHere did you find the errors? and how did you get it work with out throwing hte errors. I tried to other missions that worked. wow Well I'll give it a shot thanks man.

EDIT:IT WORKED THANK YOU

It didnt save my post. Anyway this was his first mission and I told him I try to help get his briefing working and told him how to write it and what to put. He kept saying it wasn't working so I had him send it to me and I copied over some stuff from my missions but still no dice. So I got to wondering if Arma had an update effecting how briefings are written. I tried opening several mission and just couldn't figure it out. It was saying line 8 yet I see it wasn't line 8 at all

Hmm... Well I didn't even suspect the ]]; was missing and the = signs before the set task description and set task destination.

Well he will be very happy to know that its working now thanks to you Strikor. I appreciate the help and prompt reply.

Edited by Eaglezero6205

Share this post


Link to post
Share on other sites

Hmmm... After testing this, he is reporting that its not working in Multiplayer,however when he tests it in the Editor it works.

Any reason why that would happen?

Share this post


Link to post
Share on other sites

hi guys.

I dig this thread, cause I DO have a weird problem with my briefing too.

it's not working, whereas it did on other missions. I didn't change anything from one mission to another, so I don't understand

here is the mission:

can someone test it and tell me why it sucks?

would be soooooooo gentle from you.

thanks you.

required:

Lingor and Lingor units

OFrP

link of the mission:

http://wi7585.1fichier.com/

just extract in and load in in the editor

Share this post


Link to post
Share on other sites
Sign in to follow this  

×