传奇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")
相关推荐
Xeon_CC1 天前
Unity中,软遮罩SoftMaskForUGUI的使用
unity·游戏引擎
DanmF--1 天前
NGUI--三大基础组件
unity·游戏引擎
Xeon_CC2 天前
Unity中,软遮罩SoftMaskForUGUI可移动遮罩形状实现方法
unity·游戏引擎
Yasin Chen2 天前
Unity Standard Shader 解析(五)之ShadowCaster
unity·游戏引擎
我想_iwant2 天前
android集成unity后动态导入 assetsBundle
android·unity·游戏引擎
EQ-雪梨蛋花汤2 天前
【踩坑记录】Unity 项目中 PlasticSCM 掩蔽列表引发的 文件缺失问题排查与解决
unity·游戏引擎
Thinbug2 天前
Unity 枪械红点瞄准器计算
unity·游戏引擎
龚子亦2 天前
【Unity开发】热更新学习——AssetBundle
学习·unity·游戏引擎
龚子亦3 天前
【Unity开发】丧尸围城项目实现总结
unity·游戏引擎·游戏开发