Frictional Games Forum (read-only)
LookAt [fixed] - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: LookAt [fixed] (/thread-5719.html)



LookAt [fixed] - THE/ILL/WILL - 12-14-2010

Hay guys i have tried a ton of ways to get my look at functions to work but i cant. can someone help me with the scripting?
this is what i have in there now.

AddEntityCollideCallback("Player", "Test_1", "Test", true, 1);

void Test(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("test_area", 2, 2, "");
AddTimer("donelook", 2.5f, "TimerDoneLookAt");
}

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



NM this is all right i had map problems