Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Toggle Crouch and Options - Need Help

Author
Message
Red Image Games
14
Years of Service
User Offline
Joined: 9th Nov 2010
Location: United Kingdom
Posted: 24th Dec 2012 23:26
Currently working on a game about sneaking and infiltration. Is there any way to make it so pressing C (or whatever your crouch key is) toggles crouch/stand instead of having to press it in?

And how would you go about making an options screen?

Wasn't sure where to post this topic.

FOR EXTRA SERVICE ON GAMES THAT WE MAKE AND EXTRA INFO THEN PLEASE E-MAIL redimagegames@virginmedia.com
Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 2nd Jan 2013 23:18
If you're using the latest beta V120.7.

plraction=4 will crouch
plraction=0 will cause the player to stand.

I hope that helps.

SC
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 2nd Jan 2013 23:28
Quote: "plraction=4 will crouch
plraction=0 will cause the player to stand."


These "player actions" are very handy. Great addition to scripting.


There's no problem that can't be solved without applying a little scripting.

Login to post a reply

Server time is: 2024-11-23 16:53:51
Your offset time is: 2024-11-23 16:53:51