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 error
mr.bonent Offline
Junior Member

Posts: 47
Threads: 13
Joined: May 2011
Reputation: 0
#1
script error

What's the wrong in this script?

Sorry but I'm new in scripting.


Quote:{
AddEntityCollideCallback("Player", "DoorClosedArea_1", "DoorClosedAndLook", true, 1);
}

void DoorClosedAndLook(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("mansion_6", true, true);
StartPlayerLookAt("mansion_6", 10.0f, 10.0f, "");
AddTimer("", 1.0f, "stoplook");
}
void stoplook(string &in asTimer)
{
StopPlayerLookAt();
}




That's the error.



Attached Files
.jpg   error.jpg (Size: 6.81 KB / Downloads: 74)
07-31-2011, 06:20 PM
Find


Messages In This Thread
script error - by mr.bonent - 07-31-2011, 06:20 PM
RE: script error - by palistov - 07-31-2011, 06:59 PM
RE: script error - by mr.bonent - 07-31-2011, 09:22 PM
RE: script error - by Kyle - 07-31-2011, 09:39 PM
RE: script error - by mr.bonent - 07-31-2011, 09:53 PM



Users browsing this thread: 1 Guest(s)