SetHiddenWhenEquipped(object, int)

From NWN Lexicon
Jump to: navigation, search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.
Sets whether the provided item should be hidden when equipped.
void SetHiddenWhenEquipped(
    object oItem,
    int nValue
);

Parameters

oItem
The item to check.
nValue
Whether to hide the item when it is equipped (TRUE or FALSE).

Description

Sets whether the provided item should be hidden when equipped.

The intended usage of this function is to provide an easy way to hide helmets, but it can be used equally for any slot which has creature mesh visibility when equipped (e.g.: armour, helm, cloak, left hand, and right hand).

Remarks

Information icon.png This section of the article is a stub. You can help the NWN Lexicon by expanding it.

Version

1.74.8150

Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.

See Also

functions: GetHiddenWhenEquipped()