CreateGenericHeavyArmor

From NWN Lexicon
Jump to navigationJump to search



CreateGenericHeavyArmor(object, object, int)

Spawns in a Piece of Generic Heavy Armor as part of the random treasure distribution.

void CreateGenericHeavyArmor(
    object oTarget,
    object oAdventurer,
    int nModifier = 0
);

Parameters

oTarget
Container to create the item in
oAdventurer
a Player object
nModifier
Modifier to oAdventurer's level (Default: 0)

Description

Creates a Piece of Generic Heavy Armor, based on the level of the PC opening the container, as part of the NWN Treasure Distribution System.


Remarks

Found in nw_o2_coninclude

This can be used to create the item in any object with an inventory.

Requirements

#include " nw_o2_coninclude "

Version

1.61

See Also



 author: Michael Nork, editor: Lilac Soul