OFPEC Forum

OFPEC The Editing Center => Getting help with BI games => Topic started by: Mad Pup on 05 Jun 2010, 15:23:10

Title: (OFP) Camera.sqs?
Post by: Mad Pup on 05 Jun 2010, 15:23:10
Hello OFPEC, I downloaded the camera.sqs tutorial for OFP, and it says deep within OFP documents, theres a script called camera.sqs. I looked for it, and can't seem to find it. Would anyone know where it is?

Thanks,

~Mad Pup~  :cool2:
Title: Re: (OFP) Camera.sqs?
Post by: RKurtzDmitriyev on 05 Jun 2010, 16:11:50
LOL Mad Pup, you don't need to have camera.sqs in the mission directory. All you need to do to use camera.sqs is put

Code: [Select]
this exec "camera.sqs"

in some unit's initialization.

If you're just curious where that file is stored, I have no clue. Probably in some data PBO or something.
Title: Re: (OFP) Camera.sqs?
Post by: savedbygrace on 06 Jun 2010, 03:28:24
Hahahaha. Sorry guy. I was trying to be dramatic there.

That's it!
Now if your using the player to execute the code, you can run around inside the mission and activate the radio trigger anytime you want the camera view. When you want to return to player view, just press V.

It's good to use for testing your missions as well but make sure your player is either setcaptive or in a safe place so he doesn't get run over while your soaring above in camera view. Have fun and enjoy the skies!