Announcement

Collapse
No announcement yet.

How do I get the output of trace() to show in log?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I get the output of trace() to show in log?

    Or in the Fx Media Player?

    Thank in advance

    #2
    Start your UDK Game with -log , then in unrealscript type `log(message) where message is a string, you can't log anything in the editor.

    as for scaleform or flash: in AS2, type trace(message) where message is a string where you want to trace

    Comment


      #3
      ActionScript
      Code:
      function UCLog(Msg:String) // or Object
      {
           trace(Msg);
           ExternalInterface.call("UCLog",Msg);
      }
      UnrealScript
      Code:
      function UCLog(string Msg)
      {
            `Log(Msg);
      }

      Comment


        #4
        also...

        http://forums.epicgames.com/showpost...8&postcount=30

        Comment


          #5
          Use the convert to string kismet action and then use that string value with the draw text action to output it to the screen.
          It always works for me.

          Comment


            #6
            Thank you guys.

            Comment

            Working...
            X