TakePlotItem(object, int, object)

Take the plot item from oPC's party.

void TakePlotItem(
    object oPC,
    int nQuest = 1,
    object oNPC = OBJECT_SELF
);

Parameters

oPC

PC whose party we want to take the item from

nQuest

The quest number (Default: 1)

oNPC

The quest giver (Default: OBJECT_SELF)


Description

Remove a plot item from a PC.



Remarks

This function assumes that the item to be removed is unique. If several copies of the item is found within oPC's party, only one of them will be taken.

The item is not actually taken, it is simply destroyed.

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.


Requirements

#include "x0_i0_plotgiver"

Version

1.61

See Also

categories: Module Specific Functions


 author: Lilac Soul