项目

一般

简介

Dlg imgEx » 历史记录 » 修订 2

修订 1 (machenhe, 2022-04-29 11:05) → 修订 2/3 (yangdefeng, 2022-05-07 23:46)

_*{color:green}imgEx*_ 
 自定义对话框中显示指定图片 

 标签:命令定义|dlg_imgEx 

 *格式* 
 |命令名    |参数1       |参数2|参数3|参数4     | 
 |imgEx     |图片资源名|x坐标|y坐标|跳转标签| 


 *说明* 
 参数1: 图片资源名,参见[[资源编辑器]] 

 参数2: 指定图片在对话框中的x坐标 

 参数3: 指定图片在对话框中的y坐标  

 参数4: 点击图片后的跳转标签 

 - 
 - 

 *%{color:deepskyblue}特戒引擎脚本示例:%* 

 *使用前提* 
 请配置补丁资源\"lc\",即找到以下配置项,加入 %{color:deeppink}lc% 
 |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt |配置文件|...\\Mir200\\Tejieconfig\\Tejieconfig.txt 	 | 
 |配置节点|[tjconfig] 					 | 
 |配置项    |patch=aa,bb,lc 				 | 

 - 
 - 

 bq. [<notextile>@</notextile>main] 
 #say 
 <notextile><</notextile>*{color:green}imgEx*:lc_putongtouzi:50:50/<notextile>@</notextile>跳转标签> 
 <[[dlg_playImg_|playImg]]:lc_jintouzi:250:50/<notextile>@</notextile>跳转标签> 
 &nbsp; 
 [<notextile>@</notextile>跳转标签] 
 #act 
 [[close]] 
 [[movR]] d0 1 7 
 [[playDice]] 1 <notextile>@</notextile>等待结果 
 &nbsp; 
 [<notextile>@</notextile>等待结果] 
 #act 
 [[delayGoto]] 2500 <notextile>@</notextile>展示结果 
 &nbsp; 
 [<notextile>@</notextile>展示结果] 
 #act 
 [[sendTipsMsg]] 摇出了<$str(d0)>/scolor=151