Translations:Binds/8/zh: Difference between revisions

From DDraceNetwork
By (talk | contribs)
Created page with "您可以使用分号将多条设置与指令绑定到单一按键上: bind {{color|green|[按键]}} {{color|red|"}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}}{{color|red|;}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}}{{color|red|"}} 当您按下此按键后,所有绑定到这个按键的设置与指令会在同一时间被激活,换言之,这些设置与指令不会按照您所写的顺序依次激活。如果您想它们依次激..."
 
EdEnd (talk | contribs)
No edit summary
Line 1: Line 1:
您可以使用分号将多条设置与指令绑定到单一按键上:
您可以使用分号将多条设置与指令绑定到单一按键上:
  bind {{color|green|[按键]}} {{color|red|"}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}}{{color|red|;}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}}{{color|red|"}}
  bind {{color|green|[按键]}} {{color|red|"}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}}{{color|red|;}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}}{{color|red|"}}
当您按下此按键后,所有绑定到这个按键的设置与指令会在同一时间被激活,换言之,这些设置与指令不会按照您所写的顺序依次激活。如果您想它们依次激活,您可以将它们分别绑定到不同的按键上,依次按下以激活,或者[[Special:MyLanguage/Binds#Using_Config_Files config files|使用配置文件]]让您多次按下同一按键时激活不同的设置与指令。
当您按下此按键后,所有绑定到这个按键的设置与指令会在同一时间被激活,换言之,这些设置与指令不会按照您所写的顺序依次激活。如果您想它们依次激活,您可以将它们分别绑定到不同的按键上,依次按下以激活,或者[[Special:MyLanguage/Binds#Using_Config_Files config files|使用配置文件]]让您多次按下同一按键时顺序激活不同的设置与指令。

Revision as of 18:53, 27 May 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Binds)
You can also chain commands/settings together by separating them using a semicolon and wrapping them in quotes. You can add as many commands to this chain as you want.
 bind <span style="color:green">[key]</span> <span style="color:blue"><span style="color:red">"</span>[command/setting] <span style="color:purple">[value]</span><span style="color:red">;</span> [command/setting]</span> <span style="color:purple">[value]</span><span style="color:red">"</span>
It's important to know that when chaining things together like this, all commands/settings get executed by the game at the exact same time, meaning they will not execute sequentially in the order you write them.  There is no sleep or delay type command to space things out the way you want them.  The best way to make things happen in an ordered sequence is to either bind a different key for each step of the sequence, or to use [https://wiki.ddnet.org/wiki/Binds#Using_Config_Files config files] to press one key multiple times to read multiple files sequentially.

您可以使用分号将多条设置与指令绑定到单一按键上:

bind [按键] "[设置/指令] [参数];[设置/指令] [参数]"

当您按下此按键后,所有绑定到这个按键的设置与指令会在同一时间被激活,换言之,这些设置与指令不会按照您所写的顺序依次激活。如果您想它们依次激活,您可以将它们分别绑定到不同的按键上,依次按下以激活,或者使用配置文件让您多次按下同一按键时顺序激活不同的设置与指令。