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
Script Help Script error
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#7
RE: Script error

You are not naming things right. Use this:


void OnStart()
{
AddEntityCollideCallback("Player", "Get_to_work_Area", "GetFirst_Quest", true, 1);
AddEntityCollideCallback("Player", "Get_to_Work_complete_Area", "FinishFirst_Quest", true, 1);
}
void GetFirst_Quest(string &in asParent, string &in asChild, int alState)
{
AddQuest("get_to_workquest", "Get_To_Work");
}
void FinishFirst_Quest(string &in asParent, string &in asChild, int alState)
{
CompleteQuest("get_to_workquest", "Get_To_Work");
}

Use that and then look at the differences between your script and the modified script and figure out why your's didn't work.

01-30-2012, 11:17 AM
Find


Messages In This Thread
Script error - by Saren - 01-30-2012, 10:55 AM
RE: Script error - by Tripication - 01-30-2012, 10:56 AM
RE: Script error - by Saren - 01-30-2012, 11:03 AM
RE: Script error - by flamez3 - 01-30-2012, 11:04 AM
RE: Script error - by Saren - 01-30-2012, 11:09 AM
RE: Script error - by Tripication - 01-30-2012, 11:13 AM
RE: Script error - by flamez3 - 01-30-2012, 11:17 AM
RE: Script error - by Shadowfied - 01-30-2012, 11:48 AM
RE: Script error - by Saren - 01-30-2012, 11:21 AM
RE: Script error - by flamez3 - 01-30-2012, 11:51 AM
RE: Script error - by Shadowfied - 01-30-2012, 11:54 AM
RE: Script error - by Saren - 01-30-2012, 12:03 PM



Users browsing this thread: 1 Guest(s)