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
Wili Offline
Junior Member

Posts: 5
Threads: 1
Joined: Dec 2015
Reputation: 0
#3
RE: SetPlayerCrouching(true); not working while LShift is pressed

Thanks for the answer!, well I hope there is a way, I'm just trying to make a crush trap where the ceiling goes down and crush the player, It works pretty well if the player is walking but if the player keeps running the "SetPlayerCrouching(true);" command won't work and the player clips trough the ceiling and starts bouncing.

Here is my problem:

https://youtu.be/35SR5gPfujI

The first part where the player only walks works perfect, the problem is the second part of the video where the player keeps running and "SetPlayerCrouching(true);" is not working.

Any ideas on getting this trap to work?

Thank you!
(This post was last modified: 12-23-2015, 02:16 PM by Wili.)
12-23-2015, 01:50 PM
Find


Messages In This Thread
RE: SetPlayerCrouching(true); not working while LShift is pressed - by Wili - 12-23-2015, 01:50 PM



Users browsing this thread: 1 Guest(s)