Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 68 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: buttonpressed()
Pedro699
General Member
Since: Jun 19, 2006
Posts: 781
Last: Dec 18, 2010
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Saturday, Oct. 2, 2010 10:00 pm
I mean bind it to do multiple things. I think you can do something like:

/bind key "+gostand; openScriptMenu ingame doublejump;"

which will cause the player to jump and send the menu response "doublejump" which you could pick up somewhere in _menus.gsc.

Buttonpressed is a single player function I believe.
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Saturday, Oct. 2, 2010 11:16 pm
Well, some guy tried to use some different double binds, and they
A. Didnt work
B. Crashed the game
Share |
clanhelio
General Member
Since: Aug 30, 2008
Posts: 223
Last: Mar 24, 2011
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, Oct. 5, 2010 06:03 am
Figure things out yourself then.
Share |
elahmn
General Member
Since: Jan 8, 2009
Posts: 15
Last: Aug 29, 2013
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Sunday, Jan. 23, 2011 12:45 am
Even if it's still actual: bind U "+attack; wait 1; goprone" the right syntax.
Share |
r00t_
General Member
Since: Dec 15, 2010
Posts: 51
Last: May 16, 2011
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Wednesday, Jan. 26, 2011 10:25 pm
Pedro699 writes...
Quote:
/bind key "+gostand; openScriptMenu ingame doublejump;"

I believe this is how it's done. I haven't looked into the subject a lot, but i have heard around that it has to do with _menus.gsc, which would indicate this being the right method.

You could also ask selbie, as I believe he has this working. And if you find the answer, it would be great if you report back here with your solution. Thanks
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»