http://simswiki.info/index.php?title=Age_-_Am_I_a_Baby%3F&feed=atom&action=historyAge - Am I a Baby? - Revision history2024-03-28T09:36:21ZRevision history for this page on the wikiMediaWiki 1.20.2http://simswiki.info/index.php?title=Age_-_Am_I_a_Baby%3F&diff=17236&oldid=prevJfade: /* Code */2007-04-25T14:22:42Z<p><span dir="auto"><span class="autocomment">Code</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:22, 25 April 2007</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 13:</td>
<td colspan="2" class="diff-lineno">Line 13:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # Tree type = 0, Header flag = 8, Tree version = 3 (3), Cache flags = 0</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # Tree type = 0, Header flag = 8, Tree version = 3 (3), Cache flags = 0</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>     0: Age - Get in Temp 0 - Age of Param 0(Me); true: 1, false: error</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>     0: <ins class="diffchange diffchange-inline">[[</ins>Age - Get in Temp 0 - Age of Param 0<ins class="diffchange diffchange-inline">]]</ins>(Me); true: 1, false: error</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     1: Temp 0 == Const 0x110(Person Ages):0x5(1); true: true, false: false</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     1: Temp 0 == Const 0x110(Person Ages):0x5(1); true: true, false: false</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Jfadehttp://simswiki.info/index.php?title=Age_-_Am_I_a_Baby%3F&diff=17066&oldid=prevJfade at 12:31, 20 April 20072007-04-20T12:31:47Z<p></p>
<p><b>New page</b></p><div>{{GlobalBHAV<br />
|name=Age - Am I a Baby?<br />
|instance=0x01AD<br />
|expansion=The Sims 2<br />
}}<br />
<br />
==Code==<br />
###<br />
# Group = 0x7FD46CD0, Instance = 0x1AD<br />
# Title = Age - Am I a Baby?<br />
#<br />
# Format = 8009, Params = 0, Locals = 0<br />
# Tree type = 0, Header flag = 8, Tree version = 3 (3), Cache flags = 0<br />
<br />
0: Age - Get in Temp 0 - Age of Param 0(Me); true: 1, false: error<br />
1: Temp 0 == Const 0x110(Person Ages):0x5(1); true: true, false: false<br />
<br />
==Purpose==<br />
One of many globals related to age, it allows you to determine the age of the Sim currently interacting with an object.<br />
<br />
==Usage==<br />
Simply call this BHAV and it will return either true if the Sim '''is''' a baby, and false if the sim '''is not''' a baby. No arguments are needed.<br />
<br />
==Examples==<br />
You can see the various age testing functions in many, many Maxis objects. Just browsing through various objects should yield you some examples.</div>Jfade