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
#3
RE: script error

Here are the missing lines.

Quote:void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "BuchErscheinung", true, 1);
}

void BuchErscheinung(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("buch", true);
AddDebugMessage("buch", false);
}






{
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();
}









void OnEnter()
{
}
void OnLeave()
{
}
07-31-2011, 09:22 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)