aterlakas 1 Posted April 18, 2014 Hi guys i am still learning the editor but i have a question is it possible to have a video playback before my intro begins???I have camera scripted intro and my problem is they begin together (using ["video.ogv", false] spawn BIS_fnc_titlecard; waitUntil {!(isNil "BIS_fnc_titlecard_finished")}; in init.sqf) as a result my mission begins without see my camera scripted intro directly to my player.Is it possible to adjust the order????:confused: Share this post Link to post Share on other sites
cigar0 12 Posted April 18, 2014 This should help: 0 fadeSound 0;titleCut ["", "BLACK FADED", 85]; [] spawn { waitUntil {time > 0}; enableEnvironment false; }; sleep 1; private ["_video"]; _video = ["Filename.ogv"] spawn BIS_fnc_playVideo; waitUntil {scriptDone _video}; sleep 1; 5 fadeSound 1; titleCut ["", "BLACK IN", 2]; sleep 2; hint format["Some Infotext if you want...",player]; You can put your camara script after this. Share this post Link to post Share on other sites
aterlakas 1 Posted April 18, 2014 :yay::yay::yay: ---------- Post added at 16:40 ---------- Previous post was at 16:38 ---------- This should help:You can put your camara script after this. Thanks i ve been trying for couple of days Share this post Link to post Share on other sites
dr death jm 117 Posted April 18, 2014 can you post the whole example please, Id like to try this. like a ste by step. thanks Share this post Link to post Share on other sites
aterlakas 1 Posted April 18, 2014 ;===========INTRO MOVIE==================== 0 fadeSound 0; titleCut ["", "BLACK FADED", 85]; [] spawn { waitUntil {time > 0}; enableEnvironment false; }; sleep 1; private ["_video"]; _video = ["ARMA_3.ogv"] spawn BIS_fnc_playVideo; waitUntil {scriptDone _video}; sleep 1; 5 fadeSound 1; titleCut ["", "BLACK IN", 2]; sleep 2; hint format["Some Infotext if you want...",player]; ;===========CAMERA SCRIPTED INTRO==================== cutText ["", "BLACK FADED"]; ~1 cutText ["", "BLACK FADED"]; ~1 cutText ["", "BLACK IN", 3]; _camera = "camera" camcreate [2904.51,6080.96,3.11]; _camera cameraeffect ["internal", "back"] showcinemaborder true; ;comment ""; _camera camPrepareTarget [60886.61,81037.13,-31903.98]; _camera camPreparePos [2904.51,6080.96,3.11]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 2 @camCommitted _camera ;comment ""; _camera camPrepareTarget [58793.84,78331.74,-40684.36]; _camera camPreparePos [2900.02,6073.99,5.31]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 10 @camCommitted _camera ;comment ""; _camera camPrepareTarget [60841.48,80978.93,-32062.34]; _camera camPreparePos [2890.75,6058.95,3.56]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 15 @camCommitted _camera titleCut ["", "BLACK OUT", 1] ~2 exit Share this post Link to post Share on other sites
aterlakas 1 Posted April 18, 2014 Is that ok ??? works amazing I ve put Cigar0 code in my ''scene.sqf'' which responds to my intro so it plays before briefing Share this post Link to post Share on other sites
cobra4v320 27 Posted April 18, 2014 Ahhhhh sqs. Change it to this. cutText ["", "BLACK FADED"]; sleep 1; cutText ["", "BLACK FADED"]; sleep 1; cutText ["", "BLACK IN", 3]; _camera = "camera" camcreate [2904.51,6080.96,3.11]; _camera cameraeffect ["internal", "back"]; showcinemaborder true; //comment _camera camPrepareTarget [60886.61,81037.13,-31903.98]; _camera camPreparePos [2904.51,6080.96,3.11]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 2; waitUntil {camCommitted _camera}; //comment _camera camPrepareTarget [58793.84,78331.74,-40684.36]; _camera camPreparePos [2900.02,6073.99,5.31]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 10; waitUntil {camCommitted _camera}; //comment _camera camPrepareTarget [60841.48,80978.93,-32062.34]; _camera camPreparePos [2890.75,6058.95,3.56]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 15; waitUntil {camCommitted _camera}; titleCut ["", "BLACK OUT", 1]; Share this post Link to post Share on other sites
aterlakas 1 Posted April 18, 2014 (edited) Ahhhhh sqs. Change it to this. cutText ["", "BLACK FADED"]; sleep 1; cutText ["", "BLACK FADED"]; sleep 1; cutText ["", "BLACK IN", 3]; _camera = "camera" camcreate [2904.51,6080.96,3.11]; _camera cameraeffect ["internal", "back"]; showcinemaborder true; //comment _camera camPrepareTarget [60886.61,81037.13,-31903.98]; _camera camPreparePos [2904.51,6080.96,3.11]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 2; waitUntil {camCommitted _camera}; //comment _camera camPrepareTarget [58793.84,78331.74,-40684.36]; _camera camPreparePos [2900.02,6073.99,5.31]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 10; waitUntil {camCommitted _camera}; //comment _camera camPrepareTarget [60841.48,80978.93,-32062.34]; _camera camPreparePos [2890.75,6058.95,3.56]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 15; waitUntil {camCommitted _camera}; titleCut ["", "BLACK OUT", 1]; Thanks whats the difference except that sqs is an old format????it seems fine Edited April 19, 2014 by aterlakas Share this post Link to post Share on other sites
cobra4v320 27 Posted April 19, 2014 You will get more help from people when you use sqf. Plus up above you are mixing sqs and sqf together. Share this post Link to post Share on other sites
aterlakas 1 Posted April 19, 2014 You will get more help from people when you use sqf. Plus up above you are mixing sqs and sqf together. Thank you very much!!! (The command for initiate sqf script is null=[] execvm "namefile.sqf" ???????right???) Share this post Link to post Share on other sites
aterlakas 1 Posted April 19, 2014 // INTRO MOVIE 0 fadeSound 0; titleCut ["", "BLACK FADED", 1]; [] spawn { waitUntil {time > 0}; enableEnvironment false; }; private ["_video"]; _video = ["ARMA_3.ogv"] spawn BIS_fnc_playVideo; waitUntil {scriptDone _video}; sleep 1; 5 fadeSound 1; cutText ["", "BLACK IN", 1]; // CAMERA 1 cutText ["", "BLACK FADED"]; sleep 1; cutText ["", "BLACK FADED"]; sleep 1; cutText ["", "BLACK IN", 3]; _camera = "camera" camcreate [2904.51,6080.96,3.11]; _camera cameraeffect ["internal", "back"]; showcinemaborder true; // TAKE 1 _camera camPrepareTarget [60886.61,81037.13,-31903.98]; _camera camPreparePos [2904.51,6080.96,3.11]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 2; waitUntil {camCommitted _camera}; // TAKE 2 _camera camPrepareTarget [58793.84,78331.74,-40684.36]; _camera camPreparePos [2900.02,6073.99,5.31]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 10; waitUntil {camCommitted _camera}; // TAKE 3 _camera camPrepareTarget [60841.48,80978.93,-32062.34]; _camera camPreparePos [2890.75,6058.95,3.56]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 15; waitUntil {camCommitted _camera}; sleep 1; // CAMERA 2 cutText ["", "BLACK OUT"]; sleep 1; cutText ["", "BLACK FADED"]; sleep 1; cutText ["", "BLACK IN",5]; _camera = "camera" camcreate [2904.51,6080.96,3.11]; _camera cameraeffect ["internal", "back"]; // TAKE 1 _camera camPrepareTarget [63337.65,-73578.13,4855.96]; _camera camPreparePos [2857.36,5911.63,2.92]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 0; waitUntil {camCommitted _camera}; // TAKE 2 _camera camPrepareTarget [63337.65,-73578.13,4855.96]; _camera camPreparePos [2857.36,5911.63,2.92]; _camera camPrepareFOV 1.600; _camera camCommitPrepared 5; waitUntil {camCommitted _camera}; sleep 1; // END INTRO cutText ["", "BLACK OUT"]; sleep 1; cutText ["", "BLACK FADED"]; sleep 1; cutText ["", "BLACK IN",5]; endMission "END1"; I thinks its done :cool: Now its perfect i think Share this post Link to post Share on other sites
cobra4v320 27 Posted April 19, 2014 Thank you very much!!!(The command for initiate sqf script is null=[] execvm "namefile.sqf" ???????right???) yup and sqs would be exec. Also when you post in the forums and you are writing code use code tags or php Share this post Link to post Share on other sites
aterlakas 1 Posted April 20, 2014 yup and sqs would be exec.Also when you post in the forums and you are writing code use code tags or php LOL that was my next question thanks cobra :p Share this post Link to post Share on other sites