icfhoop 0 Posted January 6, 2008 Hello all, I was wondering, how do I let the player choose what the time will be for the map (Night, day, or overcast?) Here is my description file so far . /////////////////////////////////////////////////////////// // Armed Assault Description File // Created with ArmA Edit - Version 1.2.7000 /////////////////////////////////////////////////////////// showCompass = 0; showGPS = 0; showWatch = 0; respawn = "BASE"; respawnDelay = 5; Share this post Link to post Share on other sites
snkman 351 Posted January 7, 2008 Here is how you can choose the time: Description.ext <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> titleParam1 = "Day Time:"; valuesParam1[] = {1, 2, 3, 4}; defValueParam1 = 1; textsParam1[] = {"Morning", "Day", "Evening", "Night"}; Init.sqf <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> if (Param1 == 1) then {SkipTime 5}; if (Param1 == 2) then {SkipTime 17}; if (Param1 == 3) then {SkipTime .5}; if (Param1 == 4) then {SkipTime 12.25}; Thats it Share this post Link to post Share on other sites