Jump to content
Sign in to follow this  
thegunnysgt

Time Limit

Recommended Posts

I have in my description Param1 that contain time limits for a game, but when I select the one that I want it doesn't end at the time I chose. I have all the value parameters set as seconds so 5 Mins would be 300 secs. According the BIS Wiki for description you should aslo put in the init file timelimit = Param1 which I have.

Could anyone help me trouble shoot what could be a problem?

Description File<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">titleParam1 = "Time Scale | Match Time";

valuesParam1[] = {7200, 60, 600, 900, 7201, 301, 601, 901};

textsParam1[] = {"1 Hour Day - Unlimited", "1 Hour Day - 5 Mins", "1 Hour Day - 10 Mins", "1 Hour Day- 15 Mins", "24 Hour Day - Unlimited", "24 Hour Day - 5 Mins", "24 Hour Day - 10 Mins", "24 Hour Day - 15 Mins"};

defvalueParam1 = 600;

Init File<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">timelimit = Param1

Share this post


Link to post
Share on other sites

I don't know for sure, but I assume you need to execute a time limit script. IE: time limits are not a native part of the ArmA engine, but can be scripted. Check how any of the BI CTF missions work for ideas.

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  

×