GetServiceFlag

From GECK
Jump to: navigation, search


A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.

Description

Returns whether or not the specified NPC form has the specified buy/sell/service flag set.

Syntax

[help]
(flagSet:0/1) GetServiceFlag NPC:form flagID:int

Service Flag IDs

1	Weapons
2	Armor
4	Alcohol
8	Books
16	Food
32	Chems
64	Stimpacks
1024	Misc. Items
131072	Repair

Example

set bFlagSet to GetServiceFlag CliffBriscoe 16 

See Also