A function added by MWSE.
xModService uses the value parameter to modify the services offered by an NPC. A positive value adds that service (or set of services) to those already offered. A negative value will remove a service or service. The changes are not permanent.
SyntaxEdit
ref->xModService service_mask (long)
ExampleEdit
long npcRef Setx npcRef to xGetRef "npc" npcRef->xModService 14335 ;barter for anything