Difference between revisions of "Ba set time limit"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Created page with "==Syntax== ''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:blue'>ba_set_time_limit </span>xxxxxxxx * ''xxxxxxxx (DWORD) = Hex value of minutes...")
 
 
Line 10: Line 10:
 
  <span style='color:blue'>1:    </span><span style='color:blue'>set_ba_rules </span><span style='color:orange'>//Begins the argument of Battle Mode rules to use.</span>
 
  <span style='color:blue'>1:    </span><span style='color:blue'>set_ba_rules </span><span style='color:orange'>//Begins the argument of Battle Mode rules to use.</span>
 
  <span style='color:blue'>      ba_set_time_limit </span>0000000A, 1 <span style='color:orange'>//Sets the Battle Timer to 10 minutes. Time begins after countdown.</span>
 
  <span style='color:blue'>      ba_set_time_limit </span>0000000A, 1 <span style='color:orange'>//Sets the Battle Timer to 10 minutes. Time begins after countdown.</span>
  <span style='color:blue'>      ba_disp_msg ,</span>'The battle will be for 10 minutes.' <span style='color:orange'>//Initiates the Battle with a message.</span>
+
  <span style='color:blue'>      ba_disp_msg </span>'The battle will be for 10 minutes.' <span style='color:orange'>//Initiates the Battle with a message.</span>
 
  <span style='color:green'>      ret </span>
 
  <span style='color:green'>      ret </span>
  

Latest revision as of 17:57, 22 May 2021

Syntax

Syntax: ba_set_time_limit xxxxxxxx

  • xxxxxxxx (DWORD) = Hex value of minutes for the Battle to take.

Use

Used to set the Battle Timer for how many minutes the Battle will run.

Example


1:     set_ba_rules //Begins the argument of Battle Mode rules to use.
       ba_set_time_limit 0000000A, 1 //Sets the Battle Timer to 10 minutes. Time begins after countdown.
       ba_disp_msg 'The battle will be for 10 minutes.' //Initiates the Battle with a message.
       ret 

Also see

set_ba_rules, ba_disp_msg