项目

一般

简介

神佑首饰盒 » 历史记录 » 修订 3

修订 2 (chenjun, 2022-06-06 11:58) → 修订 3/7 (chenjun, 2022-06-10 18:58)

h4. %{color:green}神佑首饰盒% 

 标签:模块示例|神佑首饰盒 

 *模块说明* 



 *相关配置* 






 - 
 - 

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

 - 
 - 

 bq. %{color:lightGrey};..\Mir200\Envir\QuestDiary\神佑首饰盒\神佑首饰盒.txt% 
 [<notextile>@</notextile>main] 
 #say 
 <显示首饰盒按钮/<notextile>@</notextile>显示首饰盒按钮> \ \ 
 <锁住首饰盒按钮/<notextile>@</notextile>锁住首饰盒按钮> \ \ 
 <隐藏首饰盒按钮/<notextile>@</notextile>隐藏首饰盒按钮> \ \ 
 &nbsp; 
 &nbsp; 
 %{color:lightGrey};在界面上显示首饰盒按钮% 
 [<notextile>@</notextile>显示首饰盒按钮]  
 #act 
 *{color:green}[[activationCasket]]* 
 messageBox 首饰盒入口在角色装备界面,点击首饰盒按钮可解锁 
 &nbsp; 
 &nbsp; 
 %{color:lightGrey};将首饰盒按钮重新上锁,不常用% 
 [<notextile>@</notextile>锁住首饰盒按钮] 
 #say 
 <关闭首饰盒/<notextile>@</notextile>确定关闭首饰盒> \ \ 
 <取消/<notextile>@</notextile>exit>\ 
 &nbsp; 
 &nbsp; 
 [<notextile>@</notextile>确定关闭首饰盒] 
 #act 
 *{color:green}[[setSndacasket]]* 0  
 messageBox 首饰盒成功上锁 
 &nbsp; 
 &nbsp; 
 %{color:lightGrey};隐藏界面上的首饰盒按钮,不常用% 
 [<notextile>@</notextile>隐藏首饰盒按钮] 
 #say 
 必须在首饰盒显示或关闭的状态下才能使用 \ \ 
 <隐藏首饰盒/<notextile>@</notextile>确定隐藏首饰盒> \ \ 
 <取消/<notextile>@</notextile>exit>\ 
 &nbsp; 
 &nbsp; 
 [<notextile>@</notextile>确定隐藏首饰盒] 
 #act 
 *{color:green}[[closeSndacasket]]*  
 messageBox 首饰盒按钮成功隐藏 


 - 
 - 


 bq. %{color:lightGrey};..\Mir200\Envir\Market_Def\QFunction-0.txt% 
 %{color:lightGrey};解锁神佑首饰盒按钮% 
 [<notextile>@</notextile>openSndacasket] 
 #say 
 <解锁首饰盒/<notextile>@</notextile>确定解锁首饰盒> \ \ 
 <取消/<notextile>@</notextile>exit>\ 
 &nbsp; 
 &nbsp; 
 [<notextile>@</notextile>确定解锁首饰盒] 
 #if 
 #act 
 *{color:green}[[setSndacasket]]* 1  
 messageBox 首饰盒成功解锁 
 &nbsp; 
 &nbsp; 
 %{color:lightGrey};穿装备触发,神佑首饰盒装备的装备位置是51-56% 
 [<notextile>@</notextile>TakeOn51] 
 #act 
 messageBox 穿戴神佑盒装备51成功 
 &nbsp; 
 &nbsp; 
 %{color:lightGrey};脱装备触发,神佑首饰盒装备的装备位置是51-56% 
 [<notextile>@</notextile>TakeOff51] 
 #act 
 messageBox 脱掉神佑盒装备51成功