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 / player freeze?

Author
Message
abdullh
12
Years of Service
User Offline
Joined: 30th Aug 2012
Location:
Posted: 31st Aug 2012 02:11
hi
how can i make player freeze in trigger zone and show text message

after finish message he can move the player ?
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 31st Aug 2012 10:26 Edited at: 31st Aug 2012 10:27
http://forum.thegamecreators.com/?m=forum_view&t=180924&b=23

plrfreeze=x

not that hard to find with forum-search.

abdullh
12
Years of Service
User Offline
Joined: 30th Aug 2012
Location:
Posted: 3rd Sep 2012 02:16
i know but doesn't work .... i try many time he can move

i need script how when he enter trigger zone he stop and it can't move until that sound end

please i near finish my game
help
Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 3rd Sep 2012 08:45 Edited at: 3rd Sep 2012 08:58
There are 2 commands

plrfreeze=X which disables keys for x milliseconds, but lets the player look around and shoot their gun.

plrdisable=x which disables keys and mouse for x milliseconds

Edit
The way I use it in a triggerzone would be to set it up where once the player enters the zone they freeze for the length of the sound. if the sound lasts for 5 seconds then the script would look like this.



If you are using V19 then there is an additional command you can use.

soundfinished=X X=1 not playing sound X=0 Playing sound

this would allow you to do this with the script.



Note that I was using plrdisable for these. it can easily be change to plrfreeze if you want the player to be able to look around.

Login to post a reply

Server time is: 2024-11-23 22:50:46
Your offset time is: 2024-11-23 22:50:46