传奇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")
相关推荐
HH‘HH1 天前
Unity通过OPC UA工业协议连接工业设备实战指南
unity·游戏引擎
Duo1J2 天前
【UE】Slate 编辑器工具开发03 - 节点编辑器 (EdGraph)
ue5·编辑器·游戏引擎·ue4
郝学胜-神的一滴2 天前
[简化版 GAMES 104] 现代游戏引擎 02:拆解现代游戏引擎5+1层级架构,吃透引擎底层核心逻辑
c++·unity·架构·游戏引擎·图形渲染·unreal engine·系统设计
unityのkiven2 天前
Unity 中如何创建一片森林:享元模式能不能用?应该怎么用?
unity·游戏引擎·享元模式
郝学胜-神的一滴3 天前
中级OpenGL教程 023:Assimp模型加载全解——从源码到架构的骈文探秘
c++·unity·游戏引擎·cmake·unreal engine·opengl
郝学胜-神的一滴4 天前
中级OpenGL教程 022:探秘三维世界的血脉传承——物体父子关系与矩阵递归奥义
c++·线性代数·unity·矩阵·游戏引擎·unreal engine·opengl
Python私教5 天前
我用 AI 做出了第一个 Godot 贪吃蛇
人工智能·游戏引擎·godot
淡海水6 天前
06-04-YooAsset源码-Unity加密解密服务
前端·unity·性能优化·c#·游戏引擎·yooasset