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
Please Help!
EthanLancaster Offline
Junior Member

Posts: 15
Threads: 9
Joined: Mar 2012
Reputation: 0
#1
Please Help!

Ive been trying to find the error in this script for about an hour! Im really bad at it please help!

void OnStart ( )
{
AddUseItemCallback("", "LibraryKey, mansion_1, UsedKeyOnDoor, true);
AddEntityCollideCallback("Player", "StartPoint_Quest", "GetStartPoint", true, 1);
AddEntityCollideCallback("Player", "StartPoint_Quest", "FinishStartPoint", true, 1);
}
void UsedKeyOnDoor(string &in asEntity, int alState)
void GetStartPoint(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorLocked("mansion_1", false, true);
AddQuest ( "investigate", "Investigate" ) ;
}

void FinishStartPoint(string &in asParent, string &in asChild, int alState)
{
CompleteQuest ( "investigate", "Investigate" ) ;
}

03-15-2012, 05:16 AM
Find


Messages In This Thread
Please Help! - by EthanLancaster - 03-15-2012, 05:16 AM
RE: Please Help! - by Your Computer - 03-15-2012, 06:54 AM
RE: Please Help! - by Equil - 03-15-2012, 07:16 AM
RE: Please Help! - by Strembitsky - 03-15-2012, 02:23 PM
RE: Please Help! - by Xanthos - 03-16-2012, 01:19 AM
RE: Please Help! - by EthanLancaster - 03-16-2012, 06:54 PM
RE: Please Help! - by EthanLancaster - 03-16-2012, 08:12 PM
RE: Please Help! - by Xanthos - 03-16-2012, 09:42 PM
RE: Please Help! - by EthanLancaster - 03-16-2012, 10:14 PM



Users browsing this thread: 1 Guest(s)