CreateBattleAxe

From NWN Lexicon
Jump to navigationJump to search



CreateBattleAxe(object, object)

Spawns in a magical weapon suited for that class as part of the random treasure distribution.

void CreateBattleAxe(
    object oTarget,
    object oAdventurer
);

Parameters

oTarget

Container to create the item in

oAdventurer

a Player object


Description

Creates a Battle Axe as treasure for the NWN Treasure distribution routine.



Remarks

Found in nw_o2_feat.nss

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


Requirements

#include " nw_o2_feat "

Version

1.61

See Also



 author: Michael Nork, editor: Lilac Soul