Difference between revisions of "Gettimedate"

From EDukeWiki
Jump to: navigation, search
m
m
Line 12: Line 12:
 
  <yday>    days since January
 
  <yday>    days since January
  
A tutorial on how this command can be used can be viewed here, [[How_to_make_a_clock|Make a in-game clock]]
+
A tutorial on how this command can be used can be viewed here: [[How_to_make_a_clock|make an in-game clock]]
  
 
[[Category:EDuke32 specific commands]]
 
[[Category:EDuke32 specific commands]]

Revision as of 01:04, 5 February 2011

getdate <sec> <min> <hour> <mday> <mon> <year> <wday> <yday>

Gets the time and date into gamevars:

<sec>     seconds after the minute
<min>     minutes after the hour
<hour>    hours since midnight
<mday>    day of the month
<mon>     months since January
<year>    years since 1900
<wday>    days since Sunday
<yday>    days since January

A tutorial on how this command can be used can be viewed here: make an in-game clock