<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.simswiki.info/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://simswiki.info/index.php?action=history&amp;feed=atom&amp;title=Idle_-_Hours</id>
		<title>Idle - Hours - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://simswiki.info/index.php?action=history&amp;feed=atom&amp;title=Idle_-_Hours"/>
		<link rel="alternate" type="text/html" href="http://simswiki.info/index.php?title=Idle_-_Hours&amp;action=history"/>
		<updated>2026-09-09T13:53:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://simswiki.info/index.php?title=Idle_-_Hours&amp;diff=17227&amp;oldid=prev</id>
		<title>Jfade: /* Code */</title>
		<link rel="alternate" type="text/html" href="http://simswiki.info/index.php?title=Idle_-_Hours&amp;diff=17227&amp;oldid=prev"/>
				<updated>2007-04-25T14:16:44Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Code&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:16, 25 April 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; # Tree type = 0, Header flag = 0, Tree version = 1 (1), Cache flags = 0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; # Tree type = 0, Header flag = 0, Tree version = 1 (1), Cache flags = 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  0: Idle - Minutes(60 (0x3C)); true: 1, false: error&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  0: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;Idle - Minutes&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;(60 (0x3C)); true: 1, false: error&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  1: Local 0 ++ and &amp;lt; Param 0; true: 0, false: true&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  1: Local 0 ++ and &amp;lt; Param 0; true: 0, false: true&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jfade</name></author>	</entry>

	<entry>
		<id>http://simswiki.info/index.php?title=Idle_-_Hours&amp;diff=12359&amp;oldid=prev</id>
		<title>Jfade at 19:29, 4 January 2007</title>
		<link rel="alternate" type="text/html" href="http://simswiki.info/index.php?title=Idle_-_Hours&amp;diff=12359&amp;oldid=prev"/>
				<updated>2007-01-04T19:29:09Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{GlobalBHAV&lt;br /&gt;
|name=Idle - Hours&lt;br /&gt;
|instance=0x016E&lt;br /&gt;
|expansion=The Sims 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
 ###&lt;br /&gt;
 # Group = 0x7FD46CD0, Instance = 0x16E&lt;br /&gt;
 # Title = Idle - Hours&lt;br /&gt;
 #&lt;br /&gt;
 # Format = 8009, Params = 1, Locals = 1&lt;br /&gt;
 # Tree type = 0, Header flag = 0, Tree version = 1 (1), Cache flags = 0&lt;br /&gt;
 &lt;br /&gt;
     0: Idle - Minutes(60 (0x3C)); true: 1, false: error&lt;br /&gt;
     1: Local 0 ++ and &amp;lt; Param 0; true: 0, false: true&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
This is one of three [[Idle]] functions that are extremely useful in the [[Main Function]] of objects. They are used to cause the object to idle, or pause, for a period of time before moving on to the next line of code. &lt;br /&gt;
&lt;br /&gt;
When you use the normal [[Idle]] global function, you feed a numerical argument that tells the object how many ticks to pause for. 30 ticks equals one Sim minute, 1800 ticks equals one Sim hour, and so on. In order to save you from having to think, however, there are two other global functions to help with this conversion: [[Idle - Minutes]] and [[Idle - Hours]].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
When you call this BHAV, provide the literal number of Sim hours that you want the object to pause for. For example, if you want the object to idle for 2 Sim hours, feed in this:&lt;br /&gt;
&lt;br /&gt;
 07 02 00 00 00 00 00 00&lt;br /&gt;
 00 00 00 00 01 00 00 00&lt;br /&gt;
&lt;br /&gt;
Which should yield this from SimPE's BHAV editor:&lt;br /&gt;
&lt;br /&gt;
 [global 0x016E] Idle - Hours (1 arg: Literal 0x0002)&lt;br /&gt;
&lt;br /&gt;
For more information on how this works, refer to this page: [[Using BHAVs With Arguments]].&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
You can see the various idle functions in nearly all [[Main Function|Main Functions]] of objects.&lt;/div&gt;</summary>
		<author><name>Jfade</name></author>	</entry>

	</feed>