The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with ending a quest
Thegood Offline
Junior Member

Posts: 20
Threads: 6
Joined: Feb 2012
Reputation: 0
#1
Problem with ending a quest

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?
02-17-2012, 08:35 AM
Find


Messages In This Thread
Problem with ending a quest - by Thegood - 02-17-2012, 08:35 AM
RE: Problem with ending a quest - by flamez3 - 02-17-2012, 09:26 AM
RE: Problem with ending a quest - by Thegood - 02-17-2012, 09:22 PM
RE: Problem with ending a quest - by Ermu - 02-18-2012, 03:43 PM



Users browsing this thread: 4 Guest(s)