SetCombatStyleTraitNumeric
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the value of a combat style's numeric trait (determined by traitID).
Syntax
(traitValue:float) SetCombatStyleTraitNumeric combatStyle:ref traitID:int{0-63} newValue:float
Combat Style Numeric Trait IDs
0 Cover Search Radius 1 Take Cover Chance 2 Wait Time Min. 3 Wait Time Max. 4 Wait to Fire Timer Min. 5 Wait to Fire Timer Max. 6 Fire Timer Min. 7 Fire Timer Max. 8 Ranged Weap Range Mult. Min. 9 Ranged Weap Range Mult. Max. 10 Weapon Restrictions (0 - None, 1 - Melee Only, 2 - Ranged Only) 11 Max Targeting FOV 12 Combat Radius 13 Semi-Auto Firing Delay Mult. Min. 14 Semi-Auto Firing Delay Mult. Max. 15 Dodge % Chance 16 Left/Right % Chance 17 Dodge L/R Timer Min. 18 Dodge L/R Timer Max. 19 Dodge Forward Timer Min. 20 Dodge Forward Timer Max. 21 Dodge Back Timer Min. 22 Dodge Back Timer Max. 23 Idle Timer Min. 24 Idle Timer Max. 25 Block % Chance 26 Attack % Chance 27 Recoil/Stagger Bonus to Attack 28 Unconscious Bonus to Attack 29 Hand-to-Hand Bonus to Attack 30 Power Attack % Chance 31 Recoil/Stagger Bonus to Power 32 Unconscious Bonus to Power Attack 33 Power Attack % Chance Normal 34 Power Attack % Chance Forward 35 Power Attack % Chance Back 36 Power Attack % Chance Left 37 Power Attack % Chance Right 38 Hold Timer Min. 39 Hold Timer Max. 40 Acrobatic Dodge % Chance 41 Rushing Attack % Chance 42 Rushing Attack Distance Mult. 43 Dodge Fatigue Mod Base 44 Dodge Fatigue Mod Mult. 45 Encumb. Speed Mod Base 46 Encumb. Speed Mod Mult. 47 Dodge While Under Attack Mult. 48 Dodge Not Under Attack Mult. 49 Dodge Back While Under Attack Mult. 50 Dodge Back Not Under Attack Mult. 51 Dodge Forward While Attacking Mult. 52 Dodge Forward Not Attacking Mult. 53 Block Skill Modifier Base 54 Block Skill Modifier Mult. 55 Block While Under Attack Mult. 56 Block Not Under Attack Mult. 57 Attack Skill Modifier Base 58 Attack Skill Modifier Mult. 59 Attack While Under Attack Mult. 60 Attack Not Under Attack Mult. 61 Attack During Block Mult. 62 Power Att. Fatigue Mod Base 63 Power Att. Fatigue Mod Mult.
Example
SetCombatStyleTraitNumeric FollowersCombatStyleRanged 12 5000
Will set the Combat Radius of FollowersCombatStyleRanged to 5000.