SetClassTraitNumeric

Revision as of 22:32, 27 March 2015 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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

(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