The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
StartPlayerLookAt does not work
Lake Offline
Member

Posts: 58
Threads: 20
Joined: Jul 2012
Reputation: 0
#1
StartPlayerLookAt does not work

this is my script:

void OnStart()

{
AddEntityCollideCallback("Player", "ScriptArea_4", "capitoloz", true, 1);
}

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

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

void capitolo01(string &in asParient, string &in asChild, int alState)
{
AddTimer("", 4.0f, "capitolo02");
StopPlayerLookAt();
}

When the player passes the area of script, the layer freezes, but does not look at the object in question, plus also the void capitolo01 does not work
08-06-2012, 06:50 PM
Find


Messages In This Thread
StartPlayerLookAt does not work - by Lake - 08-06-2012, 06:50 PM
RE: StartPlayerLookAt does not work - by Traggey - 08-06-2012, 06:53 PM
RE: StartPlayerLookAt does not work - by Lizard - 08-06-2012, 06:55 PM
RE: StartPlayerLookAt does not work - by Lake - 08-06-2012, 07:00 PM
RE: StartPlayerLookAt does not work - by Lizard - 08-06-2012, 07:02 PM
RE: StartPlayerLookAt does not work - by Lake - 08-06-2012, 07:11 PM
RE: StartPlayerLookAt does not work - by Lizard - 08-06-2012, 07:32 PM
RE: StartPlayerLookAt does not work - by Lizard - 08-06-2012, 07:28 PM
RE: StartPlayerLookAt does not work - by Lake - 08-06-2012, 07:43 PM
RE: StartPlayerLookAt does not work - by Lake - 08-07-2012, 09:08 AM



Users browsing this thread: 1 Guest(s)