OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Danakin1 on 17 May 2008, 18:06:28

Title: How to add script or add the Camera.sqs script
Post by: Danakin1 on 17 May 2008, 18:06:28
OK, So I'm trying to add or use the camera.sqs script.  To use this, I am supposed to add something to a unit that I created.
this exec "camera.sqs"
Where the heck do I add this?  It says to type this in the Inital field, but I have no idea how to access that.
When I create the unit, I only have option to select the type of unit...  That's it.  I cannot find any place to add text or script or anything.

I am obviously new to all this and just understanding the scripting thing.  Any help would be appreciated.
Thanks,
Danakin
Title: Re: How to add script or add the Camera.sqs script
Post by: Gcfungus on 17 May 2008, 21:08:37
Not being an expert here, but this is an easy question, and probably should be in the general section and not in the addons & mods section.

Simple answer: Your editor is in the wrong mode. When you are in the editor mode, in the top right hand corner there is a word which probably says 'Easy' on yours. Just click on it and it will change to 'Advanced'. This will allow you more options with your units and other things. Therefore, when you create or edit a unit there will be an init field in which to type:
Code: [Select]
this exec "camera.sqs"
Should work  :) :good:
-=GC=-Fungus1999
Title: Re: How to add script or add the Camera.sqs script
Post by: Danakin1 on 17 May 2008, 21:52:39
SWEET!  Thanks so much.  That really helps...  Words cannot begin to say how greatful I am...  You are right...  I was in Easy Mode. 
My life can now move forward...    :clap:
Title: Re: How to add script or add the Camera.sqs script
Post by: schuler on 18 May 2008, 07:25:40
GC good job, sometimes its so simple and can be over looked.
i am a sucker for happy endings :D
@Danakin you can use the intro, or put it in the init file or a trigger west present and other ways too!
good luck, happy editing
cheers schuler
ps post back if you need more help!!!!!!!!