Difference between revisions of "Age - Am I a Young Adult?"

From SimsWiki
Jump to: navigation, search
(Code)
m (Reverted edits by Laswd (talk) to last revision by Jfade)
 
Line 6: Line 6:
  
 
==Code==
 
==Code==
[http://www.bestessay.com/essay.php essays]
 
 
 
  ###
 
  ###
 
  # Group = 0x7FD46CD0, Instance = 0x3C6
 
  # Group = 0x7FD46CD0, Instance = 0x3C6
Line 17: Line 15:
 
     0: my person data Person Age (0x3A) == Const 0x110(Person Ages):0x3(19 (0x13)); true: 1, false: false
 
     0: my person data Person Age (0x3A) == Const 0x110(Person Ages):0x3(19 (0x13)); true: 1, false: false
 
     1: my person data kEP1 - Young Adult( 0=no, 1=yes ) (0xAF) == 1; true: true, false: false
 
     1: my person data kEP1 - Young Adult( 0=no, 1=yes ) (0xAF) == 1; true: true, false: false
 +
 +
  
 
==Purpose==
 
==Purpose==

Latest revision as of 14:09, 11 November 2011

Age - Am I a Young Adult?
Instance:0x03C6
Game Version:University


Contents

[edit] Code

###
# Group = 0x7FD46CD0, Instance = 0x3C6
# Title = Age - Am I a Young Adult?
#
# Format = 8009, Params = 0, Locals = 0
# Tree type = 0, Header flag = 18, Tree version = FFFF8009 (-32759), Cache flags = 0

    0: my person data Person Age (0x3A) == Const 0x110(Person Ages):0x3(19 (0x13)); true: 1, false: false
    1: my person data kEP1 - Young Adult( 0=no, 1=yes ) (0xAF) == 1; 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 young adult, and false if the sim is not a young adult. 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.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox