News:

Come Chat with us live! Learn how HERE!

Main Menu

Binds according to stage?

Started by [Doh], February 15, 2007, 01:56:37 AM

[Doh]

Well, Blazeraid set me out to make him some binds, for his whole gameplay and he came across the idea to make scrolling up and down go through the list of things to build and it works great, but I want to improve it.  In stage 1, it goes through the things, which includes the DC, Repeater, and Tesla's etc, and it takes extra time to get through those parts.

So...


Question:  Is there anyway I can make a bind occur if it's a certain stage, automatically, without any buttons being pressed to set a seta saying is is that stage?

Something like

bind P "STAGE1: say "Stage 1!";STAGE2: say "Stage 2";"

?

Any help is appreciated.

kevlarman

it can't be done with the current scripting system.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Paradox

Hence why i want a client side scripting language, so a bind could be:
/bind s "Stage $teamstage$"

Would produce
Paradox|SST+Op|: Stage 1


And so on.

∧OMG ENTROPY∧

Stof

Quote from: ParadoxHence why i want a client side scripting language, so a bind could be:
/bind s "Stage $teamstage$"

Would produce
Paradox|SST+Op|: Stage 1


And so on.
That can hardly be called a client side scripting engine :-?
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

David

why cant we just get bash embedded into the console?
(with a ton or variables pre-set of course...)
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

[Doh]


Smokey

Sadly you would need and if () { then system :(

David

Quote from: SmokeySadly you would need and if () { then system :(

Why bother?
Just use ((bool) ? true : false )
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

next_ghost

Why don't you just bind a few keys to exec the right config file? :roll: Isn't it a little too early to talk about writing it in the scripting language which hasn't even been agreed upon yet?
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.