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
How to add a quest?
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#6
RE: How to add a quest?

void OnStart()
{
SetEntityPlayerInteractCallback("ButtonName", "FunctionName", true);
}

void FunctionName(string &in asEntity)
{
AddQuest("QuestName", "EntryName");
}

u get all more detailed info about functions and how they work from your scripting bible:

http://wiki.frictionalgames.com/hpl2/amn..._functions

The Interrogation
Chapter 1

My tutorials
02-05-2012, 02:03 PM
Find


Messages In This Thread
How to add a quest? - by Shives - 02-05-2012, 10:46 AM
RE: How to add a quest? - by Elven - 02-05-2012, 12:15 PM
RE: How to add a quest? - by Shives - 02-05-2012, 12:35 PM
RE: How to add a quest? - by Elven - 02-05-2012, 12:38 PM
RE: How to add a quest? - by Shives - 02-05-2012, 01:25 PM
RE: How to add a quest? - by Elven - 02-05-2012, 02:03 PM
RE: How to add a quest? - by Your Computer - 02-05-2012, 11:22 PM



Users browsing this thread: 1 Guest(s)