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 problem

Author
Message
djmaster
User Banned
Posted: 4th Feb 2009 15:51
i made this script for my game The Game Creating Hero so when the player comes into the zone it freezes him until the end but the freeze part wont work,some help is what i need:




A.K.A. djmaster
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 4th Feb 2009 16:04
it has to be plrfreeze=time in milliseconds

]

bond1
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location:
Posted: 4th Feb 2009 16:17
Quote: "it has to be plrfreeze=time in milliseconds"


No! It's plrfreeze=1 or plrfreeze=0

----------------------------------------
"bond1 - You see this name, you think dirty."
djmaster
User Banned
Posted: 4th Feb 2009 18:03
bond is right,but why aint it working,i did it properly,plrfreeze=1,then at the end its plrfreeze=0,dunno whats wrong

A.K.A. djmaster
Flatlander
FPSC Tool Maker
18
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 4th Feb 2009 18:51 Edited at: 4th Feb 2009 18:52
Lee, changed it to plrfreeze=milliseconds. I thought it was that way originally as well. However, the way it is hard-coded now is that plrfreeze=1 will freeze the player for 1 millisecond and then unfreeze him. Just use a huge amount of time to freeze the player:

plrfreeze=500000 to freeze the player and then

plrfreeze=0 to unfreeze the player.


As you can see this is now a built in timer so you wouldn't have to use the timer for the entity. However, I have discovered I need it to toggle on and off more than using it in a timed scenario, but we just have to now use it how it is now designed.

I am using both plrdisable and plrfreeze quite frequently now and it does work fine if it is used in this manner.

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
djmaster
User Banned
Posted: 4th Feb 2009 19:42
thanks very much,you should fix that in fpi editpad,it says for 0 and 1 in editpad

A.K.A. djmaster
Flatlander
FPSC Tool Maker
18
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 4th Feb 2009 20:37
Yes, I know. I plan on making several changes to update the command lists. Just haven't done it yet. Thanks for reminding me.

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
Gamer X
17
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 4th Feb 2009 21:19
in case you run into more problems with commands, please refer to this thread: http://forum.thegamecreators.com/?m=forum_view&t=135769&b=23

It contains information over certain commands.


Login to post a reply

Server time is: 2025-05-23 14:48:37
Your offset time is: 2025-05-23 14:48:37