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 Help Another FATAL ERROR problem :/
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#4
RE: Another FATAL ERROR problem :/

void OnStart()
{
AddEntityCollideCallback("Player", "RoomTwoArea_01", "CollideRoomTwo", true, 1);
}

void CollideRoomTwo(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("castle_arched01_1", true, true);
StartPlayerLookAt("castle_arched01_1", 1.5f, 2.0f, "");
AddTimer("", 1.0f, "StopLook");
}

void StopLook(string &in asTimer)
{
StopPlayerLookAt();
}

There were two semicolons at the end of the function header which shouldn't have been there.
(This post was last modified: 08-19-2012, 08:39 PM by Ongka.)
08-19-2012, 08:39 PM
Find


Messages In This Thread
Another FATAL ERROR problem :/ - by Dominic0904 - 08-17-2012, 12:26 AM
RE: Another FATAL ERROR problem :/ - by Adny - 08-17-2012, 12:31 AM
RE: Another FATAL ERROR problem :/ - by Ongka - 08-19-2012, 08:39 PM



Users browsing this thread: 1 Guest(s)