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
Can anyone help me find the Script Error??
danimora2012 Offline
Junior Member

Posts: 47
Threads: 18
Joined: Apr 2012
Reputation: 0
#1
Sad  Can anyone help me find the Script Error??

////////////////////////////
//Run First Time Starting map
void OnStart()
{
AddEntityCollideCallback("Player", "Music_1", "start", true, 1)
}

void start(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "Scary.snt", "Player", 0, false);
}

AddUseItemCallback("", "key_Tomb_1", "Doortodeath_1", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetLevelDoorLocked("Doortodeath_1", false);
PlaySoundAtEntity("", "unlock_door", "Doortodeath_1", 0.0f, false);
RemoveItem("key_Tomb_1");
AddDebugMessage("Key On Door", false);
}

AddEntityCollideCallback("Player", "Music_1", "start", true, 1)
}


void start(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "Scary.snt", "Player", 0, false);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}


Im tired of looking and if i mess with it it get's worse...Please...Help me... Sad
09-15-2012, 10:31 AM
Find


Messages In This Thread
Can anyone help me find the Script Error?? - by danimora2012 - 09-15-2012, 10:31 AM



Users browsing this thread: 1 Guest(s)