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


Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Simple Memento with item
ZyLogicX Offline
Member

Posts: 245
Threads: 24
Joined: May 2011
Reputation: 6
#4
RE: Simple Memento with item

void OnStart()
{
     AddEntityCollideCallback("Player", "FindLantern_Quest_Area", "GetFindLanternQuest", true,1);
     AddEntityCollideCallback("Player", "lantern_1", "FinishFindLanternQuest", true, 1);
}

void GetFindLanternQuest(string& asName, string& asNameAndTextEntry)
    {
        AddQuest("findlanternquest", "FindLanternQuest");
    }

void FinishFindLanternQuest(string& asName, string& asNameAndTextEntry)
    {
        CompleteQuest("findlanternquest", "FindLanternQuest");
    }

That should work

Beyond the Mountains of Madness [15%]
This forum is dying.
(This post was last modified: 07-03-2012, 06:44 PM by ZyLogicX.)
07-03-2012, 06:43 PM
Find


Messages In This Thread
Simple Memento with item - by RedFiction12 - 07-03-2012, 04:39 PM
RE: Simple Memento with item - by Strembitsky - 07-03-2012, 04:58 PM
RE: Simple Memento with item - by RedFiction12 - 07-03-2012, 06:25 PM
RE: Simple Memento with item - by ZyLogicX - 07-03-2012, 06:43 PM
RE: Simple Memento with item - by RedFiction12 - 07-03-2012, 07:20 PM
RE: Simple Memento with item - by Mackiiboy - 07-03-2012, 07:33 PM
RE: Simple Memento with item - by RedFiction12 - 07-03-2012, 07:44 PM
RE: Simple Memento with item - by Your Computer - 07-03-2012, 07:48 PM
RE: Simple Memento with item - by RedFiction12 - 07-03-2012, 07:56 PM
RE: Simple Memento with item - by Your Computer - 07-03-2012, 08:08 PM
RE: Simple Memento with item - by RedFiction12 - 07-03-2012, 08:12 PM
RE: Simple Memento with item - by Your Computer - 07-03-2012, 08:26 PM
RE: Simple Memento with item - by RedFiction12 - 07-04-2012, 01:54 PM



Users browsing this thread: 1 Guest(s)