Jump to content
Sign in to follow this  
Psycho5553

Intro for an mission help!

Recommended Posts

Hello :) Im trying to fix an intro at the start of an mission. but i dont know how to make an camera flying around or make music play at the same time.

I want an camera flying around and text on the screen and music at the same time. Is that possible? i saw it on an TDM mission once

Share this post


Link to post
Share on other sites

You could accomplish the intro cam by adding this to your init.sqf. Note these coordinates [1864.000,5565.000,0] are they Stratis Air Base. You can change them to wherever you like.

[[1864.000,5565.000,0],"TEXT LINE 1||TEXT LINE 2||TEXT LINE 3||etc...|"] spawn BIS_fnc_establishingShot;

And to do the music you do a few things.

1. Get an ogg sound file that you want to use and name it into.ogg.

2. Add this to your description.hpp:

class CfgSounds {
class intromusic {
	name     = "";
	sound[]  = {"intro.ogg", db-5, 1};
	titles[] = {};
};
};

3. Add this in your init or where ever you please.

_intromusic_obj = "Land_HelipadEmpty_F" createvehiclelocal (getpos player);
_intromusic_obj setpos [(getpos player select 0),(getpos player select 1),-1];
_intromusic_obj say ["intromusic",1];

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×