Frictional Games Forum (read-only)

Full Version: LookAt [fixed]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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