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 / Help with freezing the player

Author
Message
McGee
15
Years of Service
User Offline
Joined: 6th Apr 2009
Location: Earth
Posted: 17th Apr 2009 22:04
I am trying to write a simple script to get the player to freeze whilst in a trigger zone (for say 5 secs). The script should only be called once.

I am new to scripting but it seems like a simple task. Here is my attempt which evidently doesn't work



Btw I am using Plys Mod if that changes anything.

Any help appreciated.

"If you were a man I would punch you, I'd punch you right in the mouth"
Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 17th Apr 2009 22:55
You need to think in milliseconds. 1000 milliseconds = 1 second. Which means you need to use timergreater=5000 for 5 seconds.

Priest of the Church of Joe Wood
McGee
15
Years of Service
User Offline
Joined: 6th Apr 2009
Location: Earth
Posted: 17th Apr 2009 23:38 Edited at: 18th Apr 2009 00:19
Oh yeh lol.
n00b

Thanks.

EDIT: Problem solved folks

"If you were a man I would punch you, I'd punch you right in the mouth"
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 19th Apr 2009 20:03
Quote: "
"If you were a man I would punch you, I'd punch you right in the mouth""




I want a new computer!

Login to post a reply

Server time is: 2024-11-24 23:36:53
Your offset time is: 2024-11-24 23:36:53