dale0404 5 Posted September 16, 2013 Hi all, I am trying to set the parameters where the player gets to choose at what time the mission starts. I know this is easily done in MP but is it possible in SP. If so, could someone point me in the right direction please? Stuff I have so far (taken from these forums): parameters.hpp: //-- param 2 class TimeofDayHour { title = "Time of Day Hour"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}; texts[] = {"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00", "12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00"}; default = 5; }; //-- param 3 class TimeofDayMinute { title = "Time of Day Minutes"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59}; texts[] = {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"}; default = 5; }; init.sqf: //---Read the Time curTimeHour = (paramsArray select 2); curTimeMinutes = (paramsArray select 3); if (isNil "curTimeHour") then {curTimeHour = 5}; if (isNil "curTimeMinutes") then {curTimeMinutes = 27}; setDate [2035, 8, 28, curTimeHour, curTimeMinutes]; Am I missing something that goes into the description.ext? Or do others do it differently? Share this post Link to post Share on other sites
IndeedPete 1038 Posted September 16, 2013 In Arma 2 people used custom dialogs that would pop up at the beginning of the mission. That's at least how i've seen it sometimes. Prameters like in MP didn't work in SP as far as i know, but i don't know if that changed in Arma 3. Would be interesting to know though. Share this post Link to post Share on other sites
Tajin 349 Posted September 16, 2013 You could let the player start in a desolate base, camp or inside a building where he can use a certain object to "wait/sleep" and another to start the mission. That is pretty easy to do and adds a nice touch. Share this post Link to post Share on other sites
dale0404 5 Posted September 17, 2013 I see what you are getting at Tajin, not sure if it works for my mission though, surely there must be a way of selecting the time the mission starts in SP? Share this post Link to post Share on other sites
David77 10 Posted September 17, 2013 MP parameters don't work in SP. You'd have to set those up in real time, while in game. IE; custom dialog or addactions. Share this post Link to post Share on other sites
dale0404 5 Posted September 17, 2013 Yeah, roger Dave, Gonna have to look into dialogues I think. Share this post Link to post Share on other sites
David77 10 Posted September 17, 2013 Yeah, roger Dave,Gonna have to look into dialogues I think. You can take a look see into this to get you started making dialogs. It's for Arma2 & Accessing the GUI editor is different aswell as the functionality of the GUI editor is a bit different. The concept of making dialogs is the same though. Share this post Link to post Share on other sites
dale0404 5 Posted September 17, 2013 Cheers buddy, just need to understand it all now! Share this post Link to post Share on other sites