Age - Am I a Baby or Toddler?

From SimsWiki
Revision as of 08:43, 20 April 2007 by Jfade (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Age - Am I a Baby or Toddler?
Instance:0x02CF
Game Version:The Sims 2


Contents

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

Purpose

One of many globals related to age, it allows you to determine the age of the Sim currently interacting with an object.

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.

Examples

You can see the various age testing functions in many, many Maxis objects. Just browsing through various objects should yield you some examples.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox