[ QUOTE ]
[ QUOTE ]
Code:
/bind up "bind lbutton "powexec_name Teleport""
/bind down "bind lbutton """
[/ QUOTE ]
I'm not sure those would work, JonahY. As I understand it, you would need to create a bind file if you want to load binds with key presses.
[/ QUOTE ]
No, actually you can. I use it on my superjumper with a toggle key'd spacebar. I first used bound the home key as follows:
<font class="small">Code:[/color]<hr /><pre>/bind home bind space"+up$$powexec_name combat jumping$$powexec_name super jump"</pre><hr />
Then I bound lshift+home as follows:
<font class="small">Code:[/color]<hr /><pre>/bind lshift+home bind space +up
</pre><hr />
So I can turn it off in door missions. (especially caves)
Believe it or not, it works.
However, what you can't do is bind a key to bind another key to multiple commands, because the code will not understand two sets of quotes. So this:
<font class="small">Code:[/color]<hr /><pre>/bind home "bind space "+up$$powexec_name combat
jumping$$powexec_name super jump"$$say Super Jump mode enabled!"</pre><hr />
...won't work because once the game engine gets to the second set of quotes after space it will immediately consider "bind space " a single command string and output an error message.