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 :/
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Another FATAL ERROR problem :/

You had extra open/closed brackets; also, 10 is very fast for the player look function, 2-3 is fast enough:


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

I rate it 3 memes.
08-17-2012, 12:31 AM
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)