pxd2050 Posted February 3, 2022 Share Posted February 3, 2022 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 More sharing options...
Recommended Posts