SetClassTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets the value of a class' numeric trait (determined by traitID).

Syntax

[help]
(traitValue:int) SetClassTraitNumeric class:ref traitID:int{0-10} newValue:int

Class Numeric Trait IDs

0	Tag Skill #1
1	Tag Skill #2
2	Tag Skill #3
3	Tag Skill #4
4	Base Strength
5	Base Perception
6	Base Endurance
7	Base Charisma
8	Base Intelligence
9	Base Agility
10	Base Luck
  • For Tag Skill values, see here.

Example

SetClassTraitNumeric NCRRanger 2 34

Will set the Tag Skill #3 of NCRRanger to EnergyWeapons.

See Also