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
Script problem!
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#1
Script problem!

Uhmm... sorry to disturb but i dont know what is wrong now?

void OnEnter()
{
AddUseItemCallback("", "Office Key", "Office Door", "KeyOnDoor", true);
}

Actual Functions ////

-> line 46,1 void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Office Door", false, true);
RemoveItem("Office Key");
PlaySoundAtEntity("", "unlock_door.snt", "Office Door", 0.0f, true);
}

void scareactivate(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("Waterlurker" , true);
AddEnemyPatrolNode("Waterlurker", "PathNodeArea_1", 0.0f, "true");
}

I get error main (46,1) ERROR: Expected '(' Where is that?

Im confused..

“Life is a game, play it”
12-24-2010, 05:58 PM
Find


Messages In This Thread
Script problem! - by HumiliatioN - 12-24-2010, 05:58 PM
RE: Script problem! - by adamhun - 12-24-2010, 06:05 PM
RE: Script problem! - by Frontcannon - 12-24-2010, 06:05 PM
RE: Script problem! - by HumiliatioN - 12-24-2010, 06:10 PM
RE: Script problem! - by Dark88 - 12-24-2010, 06:06 PM
RE: Script problem! - by Frontcannon - 12-24-2010, 06:29 PM
RE: Script problem! - by Dark88 - 12-24-2010, 07:18 PM
RE: Script problem! - by Mardukpainkiller - 07-17-2011, 05:09 PM



Users browsing this thread: 1 Guest(s)