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 / Plrfreeze script Question.

Author
Message
puppysss
17
Years of Service
User Offline
Joined: 13th Mar 2007
Location: UnCyber Space
Posted: 26th Feb 2009 20:25
What does it that plrfreeze is to freeze movement and mouse move?

Your signature has been erased by a mod, it is way too large.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th Feb 2009 21:36
Ummmm...... yes?


The one and only,


Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 28th Feb 2009 18:02 Edited at: 28th Feb 2009 18:03
Not sure what you are asking either but let me take a guess at an answer.

plrfreeze will freeze player movent (wasd or arrow keys) but the mouse look (move) is still available so the player can still look around.

plrdisable freezes both player movement and mouse look.

__________________________________________________________
Make life a little easier and use FPI Editpad for your sctripting needs.
Now with Line Numbers. V3.3.81 is now available.

The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 28th Feb 2009 19:41 Edited at: 28th Feb 2009 19:42
@F l a t l a n d e r

So exactly how do you put this code in? I tried adding it to basically a "trigger zone" script I made, but the playerdisable bit does not do anything. Can you please give an example of use?

Till Thy Migration Come...

Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 1st Mar 2009 00:52 Edited at: 1st Mar 2009 00:53
The following code is used in a trigger zone. I start out with disabling the player as I don't want the player moving around while he reads and listens to several scripts as a form of introduction. I am not exactly sure (although I could add up the audio lengths) of how long to disable the player so I just assign it a very large number. The number represents milliseconds. When I am done with this segment I end the script by assigning 0 to the plrdisable command and destroy the triggerzone/script.

==================================================

.
.
.

:state=0:hudreset,hudx=50,hudy=80,hudimagefine=dialogpittmichael_intro3.png,hudname=intro_michael3,hudhide=1,hudmake=display

:state=0:state=1

:state=1,plrwithinzone=1:loopsound=$0,plrdisable=500000,state=2
:state=2:state=3,sound=audiobankpittmichael_intro5.ogg,timerstart
:state=3,timergreater=2398:activateifused=1,state=4,timerstart

.
.
.

:state=2000,timergreater=250:hudshow=d2self1,sound=audiobankpittlevel01_d2self01.ogg,state=2010,timerstart
:state=2010,timergreater=4311:hudunshow=d2self1,state=2050

:state=2050:plrdisable=0,destroy

The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 1st Mar 2009 03:05
Hey, thanks F l a t l a n d e r, that really helps!

Till Thy Migration Come...

Login to post a reply

Server time is: 2024-11-24 20:27:36
Your offset time is: 2024-11-24 20:27:36