跳到正文

server_snd_cast

CommandAI 翻译调试与作弊

中文说明

AI 翻译

发射一条射线并在射线命中处启动声音事件。该声音事件将周期性重新触发。用法:server_snd_cast <eventname> [<retrigger time>] [<max distance>]。已指定的参数将成为本次会话剩余时间的默认值。

原始英文说明

Casts a ray and starts a sound event where the ray hits. The sound event will retrigger periodically. Usage: server_snd_cast <eventname> [<retrigger time>] [<max distance>]. Arguments that are specified will become defaults for the remainder of the session.

配置片段

user/custom.cfg
server_snd_cast

想把这条参数写进 custom.cfg 又怕覆盖键位?使用 SrP-CFG 桌面端自带语法高亮与自动备份。

下载桌面端