GetQuestItemTag(object, int)

Returns the quest item's tag.

string GetQuestItemTag(
    object oTarget = OBJECT_SELF,
    int nQuest = 1
);

Parameters

oTarget

The quest giver (Default: OBJECT_SELF)

nQuest

The quest number (Default: 1)


Description

Return the tag used for the given NPC's quest item for the specified quest.



Remarks

Takes the tag of oTarget, appends _QI and nQuest, and returns it. So, if oTarget's tag is "BOB", and nQuest is 1, this function returns BOB_QI1 - this string is used by other functions as a local variable name.

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