The Dink Network

Reply to Question for implementing new Keys

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 16th 2003, 10:45 AM
pillbug.gif
I want weapons to have second functions and im kinda stumped on how to do this. I was thinking having a script for a new key(key123.c) that when you press it does the alternative fucntion for the weapon, but how to do this is where im stumped. Should I put all the code for the alternative functions in the script for the Key or should I have various scripts for the differnt items and the function and have the key script spawn them when the approriate item is equip?
I think the Spawning might Crap out and putting all the code in one script might be messy.