Printable Version of Topic

Click here to view this topic in its original format

Armed Assault Info Forums _ Mission Editing & Scripting _ Briefing.sqf error

Posted by: iceman11a Nov 26 2011, 21:56

Since my search turned up nothing and this is not available in the script commands. I can't seem to get it to work. The script just errors telling me that there a ; missing on line 1

Here's my code below

CODE
player createDiaryRecord ["Notes", ["TITLE HERE", "Add some notes here."]];
player createDiaryRecord ["Intel", ["TITLE HERE", "Some Intel."]];

obj_2 = player createsimpletask["Guard Air Field"];
obj_2 setSimpleTaskDescription ["Keep eney forces from over running your positions.", "Objective 1", "Guard Air Field"];

obj_1 = player createsimpletask["Destroy Ammo Truck"];
obj_1 setSimpleTaskDescription ["destroy Ammo Truck.", "Objective 2", "Destroy Ammo Truck"];
obj_1 setSimpleTaskDestination (getmarkerPos "tr1" );


can any one tell me what I'm doing wrong. I all so tried to make the briefing.html file all so and that didn't work.


Posted by: D@V£ Nov 26 2011, 22:09

That sort of error usually comes up for general syntax issues, off the top of my head, you've missed a space after "createsimpletask".

I'd recommend using ArmAEdit http://www.armedassault.info/index.php?game=0&cat=utilities&id=10 if you're having trouble with this sort of thing, it's got some handy wizards and can tell you if you've got any syntax errors.

Also, I edited your thread title - you should use more descriptive thread titles in the future. smile.gif

Posted by: iceman11a Nov 26 2011, 22:27

Thanks, How ever. The briefing.sqf file is not in that list of files to create. So I'm lost here. Is there a video on using this software.

I just check youtube.com and I didn't find any video's on how to use this software. So I'm lost here.


Posted by: iceman11a Nov 26 2011, 23:44

I fixed the spaces and I still get the same error. I need to see if I can find the programmer of ArmA Editor and see if he/she can add the briefing.sqf file to his software.


Posted by: D@V£ Nov 27 2011, 00:30

QUOTE(iceman11a @ Nov 26 2011, 21:27) *
Thanks, How ever. The briefing.sqf file is not in that list of files to create. So I'm lost here. Is there a video on using this software.

I just check youtube.com and I didn't find any video's on how to use this software. So I'm lost here.

File > Wizard Created Files > Briefing Wizard

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)