GetQuestTag(object, int)

Gets the giver's quest tag.

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

Parameters

oTarget

Giver of the quest (Default: OBJECT_SELF)

nQuest

This quest's number (Default: 1)


Description

Get the tag for the given quest



Remarks

Takes the tag of oTarget, appends _Q and nQuest, and returns it. So, if oTarget's tag is "BOB", and nQuest is 1, this function returns BOB_Q1 - 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