GetQuestTag

From NWN Lexicon



Contents

[edit] GetQuestTag(object, int)

Gets the giver's quest tag.

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

[edit] Parameters

oTarget

Giver of the quest (Default: OBJECT_SELF)

nQuest

This quest's number (Default: 1)


[edit] Description

Get the tag for the given quest



[edit] 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.


[edit] Requirements

#include " x0_i0_plotgiver "

[edit] Version

1.61

[edit] See Also



 author: Lilac Soul
 

Personal tools
Categories