GetAgeClass

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the NPCs age class.

Syntax

[help]
(int) reference.GetAgeClass actor:reference

Example

int AgeClass
set AgeClass to GetAgeClass MyNPC 

Class

  • -1 = Undefined
  • 0 = Child
  • 1 = Default
  • 2 = Old
  • 3 = Old Aged