CreateGenericLightArmor
From NWN Lexicon
Contents |
[edit] CreateGenericLightArmor(object, object, int)
Spawns in a piece of generic light armor as part of the random treasure distribution.
void CreateGenericLightArmor( object oTarget, object oAdventurer, int nModifier = 0 );
[edit] Parameters
oTarget
Container to create the item in
oAdventurer
a Player object
nModifier
PC Level Modifier (Default: 0)
[edit] Description
Creates a piece of generic light armor, based on the level of the PC opening the container, as part of the NWN Treasure Distribution System.
[edit] Remarks
Found in nw_o2_coninclude.nss
This can be used to create the item in any object with an inventory.
[edit] Requirements
#include " nw_o2_coninclude "
[edit] Version
1.61
[edit] See Also
author: Michael Nork, editor: Lilac Soul