SetClassFlag

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

A function added by the JIP NVSE Plugin.

Description

Sets a class' flag value (determined by flagID).

Syntax

(flagValue:0/1) SetClassFlag class:ref flagID:int{0-19} newValue:0/1

Class Flag IDs

0	Playable
1	Guard
2	Buys/Sells Weapons
3	Buys/Sells Armor
4	Buys/Sells Alcohol
5	Buys/Sells Books
6	Buys/Sells Food
7	Buys/Sells Chems
8	Buys/Sells Stimpaks
12	Buys/Sells Miscellaneous
18	Recharge
19	Repair

Example

SetClassFlag NCRRanger 4 0

See Also