make weapons do other things

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

make weapons do other things

Postby MainMan » Fri Sep 23, 05 7:05 pm

how do i make the weapon do something else when i press the fire button?

eg if you want to do something for the scope or reload button its just 'function scopetoggle ()' or 'function reload()'

but what about the fire button?
Last edited by MainMan on Mon Sep 26, 05 6:56 pm, edited 1 time in total.
User avatar
MainMan
<i>Tru' Playa' Fer Defs</i>
 
Posts: 4655
Joined: Sun Jun 05, 05 7:38 am
Location: London, UK

Postby ~ô¿ô~Nobody~ » Sun Sep 25, 05 1:43 pm

Code: Select all
function Fire(float value)
{
}


or alternatively for the Altfire

Code: Select all
function AltFire(float value)
{
}
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby MainMan » Mon Sep 26, 05 6:57 pm

ahh thats why.. (i was trying function fire() and it said i needed a value or something)
User avatar
MainMan
<i>Tru' Playa' Fer Defs</i>
 
Posts: 4655
Joined: Sun Jun 05, 05 7:38 am
Location: London, UK


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 46 guests