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
What is the script for making the player look a spefici place?
drunkmonk Offline
Member

Posts: 109
Threads: 7
Joined: Jun 2012
Reputation: 4
#2
RE: What is the script for making the player look a spefici place?

The script for making the play look at something is
StartPlayerLookAt("mansion_5", 10, 10, ""); (the numbers are just the spped at which the player looks at the object or area)
and to open a door you woul either have to use
AddPropImpulse("mansion_5", 0, 0, 10, "World");
or
AddPropForce("mansion_5", 0, 0, 10, "World");
(you may need to play around with the scripting for the door closing)

you may also be able to get away with just using
SetSwingDoorClosed("mansion_5", true, true);
(This post was last modified: 06-22-2012, 04:57 PM by drunkmonk.)
06-22-2012, 04:56 PM
Find


Messages In This Thread
RE: What is the script for making the player look a spefici place? - by drunkmonk - 06-22-2012, 04:56 PM



Users browsing this thread: 1 Guest(s)