行为
delayGoto¶
同一脚本文件内@块延时跳转
QFunction-0.txt 文件中无效
标签:命令定义^delayGoto
格式| 命令名 | 参数1 | 参数2 |
| delayGoto | 延时时间 | 跳转标签 |
| 参数1 | 延时时间(单位毫秒) |
| 参数2 | 跳转标签 以@开头的任意字符串 |
特戒引擎脚本示例:¶
[@main]
#if
#act
sendMsg 6 <$time>我是@main
delayGoto 2000 @1
;--2秒后跳至@1
[@1]
#if
#act
sendMsg 6 <$time>我是@1
delayGoto 3000 @2
;--3秒后跳至@2
[@2]
#if
#act
sendMsg 6 <$time>我是@2