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 / Serious question about scancodekeypressed condition.

Author
Message
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 21st Dec 2006 10:13
Is scancodekeypressed one of the conditions that I cannot work with, like the save and load ones b4 save and load were implemented? I am just wondering, because I need my player to activate something with a key stroke other then use (enter).

Your signature has been erased by a mod because it's larger than 600x120
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 21st Dec 2006 12:39
there should be a list of scancodes on empt's mod file which is located on the showcase forum. just replace the scancodekeypressed=<whatever enter is> by scancodekeypressed=<whatever the key you want is>

so what's the job?
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 21st Dec 2006 17:43
Well, I know that each key has a code assigned to it, but its wether or not that script is active, or wether I can actually use it or not.

Your signature has been erased by a mod because it's larger than 600x120
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 21st Dec 2006 17:56
Yea, noob bash me, it works. Delete thread...

Your signature has been erased by a mod because it's larger than 600x120
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 21st Dec 2006 18:18
@Swhale

You may be reading more into it than there is. scancodekepressed does nothing more that determine if a key is pressed.

:state=0,scancodekeypressed=20:do something

or:
if state=0 and the user presses t then do something

Check the scripts section on my site for keycodes and more info.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 21st Dec 2006 19:20
Yup, thats why I called for a bashin' THX alot xplosys, again, I really appreciate your help with everything!

Your signature has been erased by a mod because it's larger than 600x120

Login to post a reply

Server time is: 2024-11-23 07:37:58
Your offset time is: 2024-11-23 07:37:58