背包物品的批量勾选
脚本命令:SelectBagItems
命令格式:SelectBagItems 参数一 参数二参数一:操作符(+-=)参数二:物品id列表|勾选图片素材编号(3号包内,|后可省略使用默认素材)物品id列表多个时使用逗号","隔开勾选模式下点击包裹物品会触发QFunction-0.txt中的 [@SelectBagItems]并返回参数:$996(SelectBagItems).1:物品唯一id省略参数一 表示取消勾选状态:#ACTSelectBagItemsSendMsg 5 取消勾选Break示例:---Npc脚本---;勾选包裹所有物品[@LoopBagItems]#IFTrue#ACTMov s$SelectBagItemsLoopBagItems @SelectItem n$MakeIndexBreak[@SelectItem]#IFTrue#ACTInc s$SelectBagItems ,<$Str(n$MakeIndex)>,Break[@SelectItem_End]#IFTrue#ACTSelectBagItems = $Str(s$SelectBagItems)Break---QFunction-0.txt---;点击物品勾选/取消勾选[@SelectBagItems]#IFpos $Str(s$SelectBagItems) ,<$996(SelectBagItems).1>,#ACTReplaceText s$SelectBagItems ,<$996(SelectBagItems).1>,SelectBagItems - $996(SelectBagItems).1SendMsg 5 取消勾选<$ItemInfo[<$996(SelectBagItems).1>].StdName>(ID:<$996(SelectBagItems).1>)Break#ELSEACTInc s$SelectBagItems ,<$996(SelectBagItems).1>,SelectBagItems + $996(SelectBagItems).1SendMsg 5 添加勾选<$ItemInfo[<$996(SelectBagItems).1>].StdName>(ID:<$996(SelectBagItems).1>)Break
本页面由服务器脚本从原始 DOCX 自动生成。排版如与 Word 略有差异,请以原始 DOCX 为准。