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 would you make a mechanic where you can hide under a bed?
GeneralCAL Offline
Junior Member

Posts: 12
Threads: 3
Joined: Jun 2014
Reputation: 0
#3
RE: How would you make a mechanic where you can hide under a bed?

(07-04-2014, 06:37 PM)Amn Wrote: I would put a clickable area under the bed so player may click it to enter/leave.
To locate the player under the bed, you could use TeleportPlayer function along with a PlayerStart area to spawn the player and select his angle of view. You should also force him to duck, and remove his movement speed.

Your problem, or hard to solve issue, is when the player collides with the bed.
To solve that, you could have a version of the bed that has no body, or its body without collision with player. Then you switch between those when the player wants to hide or leave.

Thanks Ann! I understand what you would do, but I have no idea how to put it into script. Do you know how?
07-04-2014, 06:42 PM
Find


Messages In This Thread
RE: How would you make a mechanic where you can hide under a bed? - by GeneralCAL - 07-04-2014, 06:42 PM



Users browsing this thread: 1 Guest(s)