Jump to content

how to "debug.notifice" in .net script or other C++?


pxd2050

Recommended Posts

I want to debug like script "debug.notifice" in NetScriptFramework, how to do?

NetScriptFramework.Main.WriteDebugMessage() do nothing.

 Events.OnCameraStateChanging.Register(e =>
            {
                NetScriptFramework.Main.WriteDebugMessage("Free is OFF" );
                if (e.PreviousState.Id == TESCameraStates.Free)
                    //NetScriptFramework.Main.WriteDebugMessage("Free is OFF" );
                    LastPosition.CopyFrom(e.Camera.TranslationInput);
                if (e.NextState.Id == TESCameraStates.Free)
                    //NetScriptFramework.Main.WriteDebugMessage("Free is ON" );
                    e.Camera.Node.LocalTransform.Position.CopyFrom(LastPosition);
            });
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...