传奇996_19——常用函数

打印

打印到公告

  • lua版
lua 复制代码
sendmsg(*actor*, ConstCfg.notice.own, '{"Msg":"<font color=\'#ff0000\'>即将更新属性2222!!!</font>","Type":9}')
sendmsg(*actor*, 1, '{"Msg":"<font color=\'#ff0000\'>即将更新属性2222!!!</font>","Type":9}')
  • txt版
    1是打印到聊天框,9打印到界面弹出文字
txt 复制代码
sendmsg 9 9999999999999999999999999999999999
sendmsg 1 1111111111111111111111111111111111

打印到控制台(绿)

lua 复制代码
release_print("attack",actor,hiter)
release_print("attack",actor)
release_print("attack")
相关推荐
真鬼1232 天前
【Unity 6】Unity6快捷下载,快速下载
unity·游戏引擎
会潜水的小火龙2 天前
unity打包apk报错Failure to initialize问题解决方法
unity·游戏引擎
Sator12 天前
unity仅用粒子系统实现拖尾
unity·游戏引擎
游乐码2 天前
Unity基础(五)四元数相关
unity·游戏引擎
想做后端的前端2 天前
Unity热更新 - HybridCLR & YooAsset
unity·游戏引擎
RPGMZ2 天前
RPGMZ游戏引擎事件技巧大全
javascript·游戏引擎·事件·rpgmz·rpgmakermz
天若有情6732 天前
Superpowers 游戏引擎核心应用场景与落地指南
游戏引擎·superpowers
winlife_2 天前
嵌入式 MCP server vs 外挂桥接进程:引擎编辑器自动化的架构取舍
架构·自动化·编辑器·游戏引擎·架构设计·mcp·编辑器自动化
那个村的李富贵3 天前
Unity自适应文本提示框:从原理到实战
unity·游戏引擎
WarPigs3 天前
Unity人物翻越功能
unity·游戏引擎