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 / Do [stuff] if player is Idle.

Author
Message
Tobias_Ripper
13
Years of Service
User Offline
Joined: 24th Mar 2013
Location: REPCONN inc.
Posted: 12th May 2013 21:48
I want to get some actions done to the player doesn't move more than 1 minute.

Isenstadt Studio: http://isenstadtstudio.com/
Composers Page: http://milothatch.isenstadtstudio.com
Seth Black
FPSC Reloaded TGC Backer
21
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 13th May 2013 16:48 Edited at: 14th May 2013 20:13
.

Tobias_Ripper
13
Years of Service
User Offline
Joined: 24th Mar 2013
Location: REPCONN inc.
Posted: 13th May 2013 17:35 Edited at: 15th May 2013 14:48
?

Isenstadt Studio: http://isenstadtstudio.com/
Composers Page: http://milothatch.isenstadtstudio.com
Aarchduke
14
Years of Service
User Offline
Joined: 10th Aug 2011
Location: United Kingdom
Posted: 19th May 2013 23:36
Hi mate - welcome to the forums

Is the player within a specific zone when you want the actions to happen? If so, you can use the plrwithinzone command. But from what I could garner from you're initial post you want something to happen whenever a player doesn't move? If so, I am not aware of a command that is able to support that kind of thing... I could be wrong though

-Duke.

So we beat on, boats against the current, borne back ceaselessly into the past.
Corno_1
15
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 20th May 2013 20:54 Edited at: 20th May 2013 20:55
Why always need a command? use something like this:


of course this are not all keys! This are just "WASD". So you must do a little bit yourself.

Corno_1


yashasp9
14
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 21st May 2013 10:24
I think he meant doing some animations when the player is Idle.In some fps games after sometime the player rotates his gun or does some trick with his gun.

I think it is possible but you need to make your own animations and make them play via script.
Tobias_Ripper
13
Years of Service
User Offline
Joined: 24th Mar 2013
Location: REPCONN inc.
Posted: 21st May 2013 21:10
The player is not within a zone. Anywhere in the level. I have recently found out about a timer function so that helps, so all I need is jsut a way to detect that the player is not moving aroudn the level. so pretty much couting 10 seconds sicne the last time the player pressed the W A S D keys.

Thanks - Corno_1

Isenstadt Studio: http://isenstadtstudio.com/
Composers Page: http://milothatch.isenstadtstudio.com

Login to post a reply

Server time is: 2026-06-09 20:26:33
Your offset time is: 2026-06-09 20:26:33