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 / need help with switch weapon script

Author
Message
EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 3rd Mar 2010 21:52
here is the script:


its supposed to make it so the "TAB" button will switch between weapon slot 1 & 2, but it just rapidly switches between them forever.

thanks

Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 3rd Mar 2010 23:01
You need to make it so that it will not work until you let go. Try this:



EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 3rd Mar 2010 23:05 Edited at: 3rd Mar 2010 23:29
thanks i'll test it when i get some other work done

EDIT
work delayed, so i tested it, but it doesn't do anything. sorry.


Indie Game Studio (with one person in it)
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 4th Mar 2010 00:30
Actually, it does, just not with the TAB key. I switched it to this:


so you press G to switch it and it worked. Try that.

EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 4th Mar 2010 00:49
its probably because TAB is used for game info


Indie Game Studio (with one person in it)
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 4th Mar 2010 01:44
Yeah, that's it I think. Did you try the new script?

EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 5th Mar 2010 21:25
yeah it works


Indie Game Studio (with one person in it)
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 9th Mar 2010 15:14
Maybe when you build the game tab will work.

EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 9th Mar 2010 21:44
ya maybe

[url]http://www.wix.com/AsherSackman/Reality-Tech[url][URL]
Indie Game Studio (with one person in it)

Login to post a reply

Server time is: 2024-11-25 02:02:07
Your offset time is: 2024-11-25 02:02:07