No categories assigned

LUA:GetQuestFlags

LUA Functions: GetQuestFlags()

Gets the custom quest flags for the given quest


Syntax

var = GetQuestFlags(param1)


Parameters

Required - param1 (Quest)
param1 is the quest whos custom flags we want to get


Returns

int32


Usage

function random_quest_function(Quest, QuestGiver, Player)
    local flags = GetQuestFlags(Quest)
    Say(Player, "Quest Flags = " .. flags)
end

This will get the flags for the quest and have the player say them, useful for debugging

Notes

Quest flags will be saved per character

Meant as a bitmask but any int32 can be stored