Frictional Games Forum (read-only)
StartPlayerLookAt does not work - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: StartPlayerLookAt does not work (/thread-17540.html)

Pages: 1 2


RE: StartPlayerLookAt does not work - Lake - 08-06-2012

I solved by changing the script in this way

Code:
void capitoloz(string &in asParent, string &in asChild, int alState)
{
AddTimer("", 0, "capitolo0");
SetPlayerActive(false);
}

void capitolo0(string &in asTimer)
{
PreloadSound("impact_glass_high.snt");
StartPlayerLookAt("pot_plant_small02_3", 1, 1, "");
AddTimer("", 5, "capitolo01");
}

void capitolo01(string &in asTimer)
{
SetMessage("Messages", "capitolo0", 0);
AddTimer("", 4.0f, "capitolo02");
StopPlayerLookAt();
}





it works .... so it's just as well right?


RE: StartPlayerLookAt does not work - FlawlessHappiness - 08-06-2012

That is how i do it...


RE: StartPlayerLookAt does not work - Lake - 08-07-2012

(08-06-2012, 08:18 PM)beecake Wrote: That is how i do it...
yes, I did like you said