HideItemBarterEx

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Hides the specified item in the barter menu with optional arguments to determine which side of the menu the item is hidden on and what vendor it applies to. Omitting the optional arguments will cause the item to be hidden entirely from the barter menu. Note that it is recommended to not specify a vendor unless necessary.

This function can only be used in a script, not as a Condition.

Syntax

[help]
HideItemBarterEx item:baseform Hide:0/1 Don't hide on side:1/2 vendor:reference

Example

HideItemBarterEx WeapNVDriverUnique 1 2 PlayerRef

Prevents the player from selling the weapon.

Notes

  • 1 don't hide item on the left (player)
  • 2 don't hide item on the right (vendor)

See Also