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
How Make AreaLook
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#3
RE: How Make AreaLook

I think he means that the player automatically starts looking at "AreaLook".

void OnStart()
{
    AddEntityCollideCallback("Player", "AreaLook", "CollideAreaLook", true, 1);
}

void CollideAreaLook(string &in asParent, string &in asChild, int alState)
{
            StartPlayerLookAt("AreaLook", 0.5f, 0.5f, "");
}

[Image: 18694.png]
03-01-2011, 10:59 PM
Find


Messages In This Thread
How Make AreaLook - by toni1998 - 03-01-2011, 08:29 PM
RE: How Make AreaLook - by nkmol - 03-01-2011, 08:54 PM
RE: How Make AreaLook - by Ongka - 03-01-2011, 10:59 PM
RE: How Make AreaLook - by nkmol - 03-01-2011, 11:22 PM



Users browsing this thread: 1 Guest(s)