CreateDivineScroll

From NWN Lexicon
Jump to: navigation, search



CreateDivineScroll(object, object, int)

Creates a divine scroll as part of the treasure

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

Parameters

oTarget

Object to create item on.

oAdventurer

A player object

nModifier

tweak to increase treasure value (Default: 0)


Description

This fuction creates a Divine Scroll in the container as part of the NWN treasure system



Remarks

Found in nw_o2_coninclude.nss

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


Requirements

#include " nw_o2_coninclude "

Version

1.62

See Also



 author: Michael Nork, editor: Jasperre, additional contributor(s): Jasperre