02-17-2012, 08:35 AM
I'm trying to get a quest (CampingQuest) to end after it picks up an object (EndQuest1), but whenever I pick up said object, it doesn't end the quest.
void OnStart()
{
SetEntityPlayerInteractCallback("EndQuest1", "EndQuest", false);
}
void OnEnter()
{
}
void OnLeave()
{
}
void EndQuest(string &in asEntity)
{
CompleteQuest("CampingQuest", "CampingQuest");
}
Anyone have any idea what the problem is?
void OnStart()
{
SetEntityPlayerInteractCallback("EndQuest1", "EndQuest", false);
}
void OnEnter()
{
}
void OnLeave()
{
}
void EndQuest(string &in asEntity)
{
CompleteQuest("CampingQuest", "CampingQuest");
}
Anyone have any idea what the problem is?