Difference between revisions of "SetClassTraitNumeric"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Jazzisparis
(Created page with "{{Function |origin = JIP |summary = Sets the value of a class' numeric trait (determined by <i>traitID</i>). |name = SetClassTraitNumeric |returnType = traitValue:int |ar...")
(No difference)

Revision as of 22:32, 27 March 2015

< [[::Category:Functions|Category:Functions]]

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