Difference between revisions of "Age - Am I a Baby or Toddler?"
From SimsWiki
m (→Code) |
|||
Line 13: | Line 13: | ||
# Tree type = 0, Header flag = 9, Tree version = FFFF8008 (-32760) | # Tree type = 0, Header flag = 9, Tree version = FFFF8008 (-32760) | ||
− | 0: Age - Am I a Baby?; true: true, false: 1 | + | 0: [[Age - Am I a Baby?]]; true: true, false: 1 |
− | 1: Age - Am I a Toddler?; true: true, false: false | + | 1: [[Age - Am I a Toddler?]]; true: true, false: false |
==Purpose== | ==Purpose== |
Latest revision as of 10:22, 25 April 2007
Age - Am I a Baby or Toddler? | ||
---|---|---|
Instance: | 0x02CF | |
Game Version: | The Sims 2 |
Contents |
[edit] Code
### # Group = 0x7FD46CD0, Instance = 0x2CF # Title = Age - Am I a Baby or Toddler? # # Format = 8008, Params = 0, Locals = 0 # Tree type = 0, Header flag = 9, Tree version = FFFF8008 (-32760) 0: Age - Am I a Baby?; true: true, false: 1 1: Age - Am I a Toddler?; true: true, false: false
[edit] Purpose
One of many globals related to age, it allows you to determine the age of the Sim currently interacting with an object.
[edit] Usage
Simply call this BHAV and it will return either true if the Sim is a baby OR toddler, and false if the sim is not a baby OR toddler. No arguments are needed.
[edit] Examples
You can see the various age testing functions in many, many Maxis objects. Just browsing through various objects should yield you some examples.