SAdefault

调试 Debugger

脚本调试

sa · 扩展 default · SCM 原生命令

共 5 条。写法见 Lua / Redux

调试行

LINE · 0052
Debugger.Line

屏上显示 6 个浮点(调试行)。

0052 LINE
in: f1, f2, f3, f4, f5, f6

开调试

DEBUG_ON · 00C3
Debugger.Enable

打开本脚本调试特性。

00C3 DEBUG_ON

关调试

DEBUG_OFF · 00C4
Debugger.Disable

关闭本脚本调试特性。

00C4 DEBUG_OFF

调试相机

IS_DEBUG_CAMERA_ON · 05A0
Debugger.IsDebugCameraOn

调试相机是否开启。用在 if 里。

05A0 IS_DEBUG_CAMERA_ON

写调试文件

SAVE_STRING_TO_DEBUG_FILE · 05B6
Debugger.SaveStringToDebugFile

把字符串写入调试文件。

05B6 SAVE_STRING_TO_DEBUG_FILE
in: msg

On this page