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 SetPlayerCrouching(true); not working while LShift is pressed
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#10
RE: SetPlayerCrouching(true); not working while LShift is pressed

(12-24-2015, 01:49 PM)Wili Wrote:
(12-24-2015, 04:28 AM)7heDubz Wrote: Well, are they unable to uncrouch once you force them to crouch?

If not then you don't need to worry about any kind of loop.

Glad to be of service.

Yes, the player is able to uncrouch, the only way the player is unable to uncrouch is when the trap ceiling is low enough, so I took player controls away, force the player to crouch and when the ceiling is low enough the player recover controls.
Player crouches and only looses control over the character like 1 second so is not that bad.

Good work-around! Idea

Trying is the first step to success.
12-25-2015, 03:13 PM
Find


Messages In This Thread
RE: SetPlayerCrouching(true); not working while LShift is pressed - by FlawlessHappiness - 12-25-2015, 03:13 PM



Users browsing this thread: 1 Guest(s)