CreateArcaneScroll
From NWN Lexicon
Contents |
[edit] CreateArcaneScroll(object, object, int)
Creates a scroll as part of the treasure
void CreateArcaneScroll( object oTarget, object oAdventurer, int nModifier = 0 );
[edit] Parameters
oTarget
Object to create item on.
oAdventurer
A Player object
nModifier
Modify oAdventurer's level for use in this function. (Default: 0)
[edit] Description
This function creates a scroll appropriate to the level and type of caster opening the chest as part of the treasure generation routines.
[edit] Remarks
nModifier is to 'raise' the level of the oAdventurer. Function is 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