GenerateMediumTreasure

From NWN Lexicon
Revision as of 01:24, 26 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



GenerateMediumTreasure(object, object)

Spawns in treasure as part of the random treasure distribution.

void GenerateMediumTreasure(
    object oLastOpener,
    object oCreateOn = OBJECT_INVALID
);

Parameters

oLastOpener

a Player object

oCreateOn

Container to create the item in (Default: OBJECT_INVALID)


Description

This function creates Medium level treasure based on the level of the PC passed in.



Remarks

Found in nw_o2_coninclude.nss


Requirements

#include " nw_o2_coninclude "

Version

1.22

See Also



 author: Michael Nork