Can anyone get the log working in the editor for stuff in your unreal script?
I'm using the following:
`log("Taking Shot");
But nothing is appearing in the editor log window![]()
Can anyone get the log working in the editor for stuff in your unreal script?
I'm using the following:
`log("Taking Shot");
But nothing is appearing in the editor log window![]()
Ninja i noticed the issue with the logs also. What you need to do is let the game play out for awhile. Sometimes the best thing is to even win the match or cause it to restart to a new match after some time of playing. Otherwise it won't show your logs it just jumps to you leaving the game in the log file.
`log(...) is working perfectly, if you don't see anything then the code isn't executed
Michiel 'El Muerte' Hendriks
Magicball Network - Little Big Adventure community
the Unreal Admin page - Unreal server administration
UnrealWiki - UnrealScript and UnrealEd wiki.
UnCodeX - powerful UnrealScript tool for programmers
The code is definately executing... otherwise my ball wouldn't actually be moving.
When I run the UDK Game itself, logs always work properly. Perhaps it is an issue with using the Play-In-Editor function?
I would suspect that the preview-in-editor would log to somewhere else. Try using showlog in the preview's console (it doen't appear in the autocomplete but it still exists).
Nightblade, a stealth based total conversion for UT3
I've noticed this too.
It appears that the time between calling log and the actual time that it is logged is quite delayed. If you quit as soon as the log is called then it might not write to the log fast enough and just simply... stop logging wherever it was at the time of termination.
Sometimes if I quit a game too fast the log will actually cut off midway during the standard level-loading log info.
As Taxxem noted, best to let it play out a little bit before you check your logs.
Bookmarks