GiveRewardItem(object, int, object)
Creates a reward item on the PC.
Player object to receive the reward item
The quest number (Default: 1)
The quest giver (Default: OBJECT_SELF)
Give a PC the reward item.
Calls GetRewardItemTag and uses that to determine which item to create. Since it uses CreateObject to create the item, this means that the tag and the ResRef of the quest items have to be the same. It only creates the item if oPC or oPC's party doesn't already have it.
This is part of BioWare's quest handling system. Unless you delve thoroughly into that system, and use it all the time, you probably won't need this function.
#include " x0_i0_plotgiver "
author: Lilac Soul