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
Script Help following statues
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#6
RE: following statues

It's definitely possible.
Check out the function 'SetEntityPlayerLookAtCallback' in the engine script page http://wiki.frictionalgames.com/hpl2/amn...s#entities

That gives you a way of checking if the player is looking in the right direction, so that you don't move the statue while they are looking at it.

Then it's just a case of setting up a lot of script areas and disabled statues, so that you can activate the right ones at the right time.

03-01-2013, 01:59 AM
Find


Messages In This Thread
following statues - by Knusper. - 02-28-2013, 05:14 PM
RE: following statues - by Tiger - 02-28-2013, 06:01 PM
RE: following statues - by Knusper. - 02-28-2013, 06:09 PM
RE: following statues - by Tiger - 02-28-2013, 06:13 PM
RE: following statues - by Knusper. - 02-28-2013, 08:12 PM
RE: following statues - by Adrianis - 03-01-2013, 01:59 AM
RE: following statues - by darksky - 03-01-2013, 11:48 AM
RE: following statues - by Knusper. - 03-01-2013, 03:08 PM
RE: following statues - by darksky - 03-01-2013, 03:17 PM
RE: following statues - by Knusper. - 03-01-2013, 03:35 PM
RE: following statues - by Tiger - 03-01-2013, 03:44 PM
RE: following statues - by darksky - 03-01-2013, 03:59 PM
RE: following statues - by Knusper. - 03-01-2013, 04:03 PM
RE: following statues - by Adrianis - 03-01-2013, 06:49 PM
RE: following statues - by darksky - 03-01-2013, 04:22 PM
RE: following statues - by Knusper. - 03-02-2013, 11:46 AM
RE: following statues - by darksky - 03-02-2013, 06:09 PM
RE: following statues - by Knusper. - 03-03-2013, 09:13 AM
RE: following statues - by Tiger - 03-03-2013, 10:09 AM



Users browsing this thread: 1 Guest(s)