Frictional Games Forum (read-only)
StopPlayerLookAt(); Doesn't 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: StopPlayerLookAt(); Doesn't work (/thread-5578.html)



StopPlayerLookAt(); Doesn't work - Gamemakingdude - 11-30-2010

PHP Code:
void Infected(string &in asParentstring &in asChildint alState)
{
    
SetEntityActive("servant_brute_1",true);
    
SetEntityActive("FogArea_1",true);
    
StartPlayerLookAt("servant_brute_1",100,100,"");
    
SetMessage("Messages","msg05",5.0f);
    
AddTimer("",3.0f,"StopLook");
}

void StopLook(string &in asParentstring &in asChildint alState)
{
    
StopPlayerLookAt();


StopPlayerLookAt(); just does nothing at all...


RE: StopPlayerLookAt(); Doesn't work - jens - 11-30-2010

StopLook(string &in asParent, string &in asChild, int alState) -> StopLook(string &in asTimer)


RE: StopPlayerLookAt(); Doesn't work - Gamemakingdude - 11-30-2010

Thanks Jens.