3D Rad Logging System So, I have just made a fully working Inventory system with items the player can eat to gain health, drink water for health, pick up new items, have a maximum weight and so on. It's a little bit complex (200 lines so far) so I thought it would be good if I could see when/if a bug occurs so I know exactly where to look. Hence this Script was born into that system and I have just made it a seperate one.
In my opinion it is super super helpful, so if your currently scripting and it isn't working and you don't know why because everything seems perfect, give this a try and see if it works well for you too. The way it works is:
CreateLog("Pass it the text to log here","Give your log a name here"); ...and that's it! It will create a .txt file with the name and text you specified as well as the creation date. I have compacted it down to one line of script too so it doesn't take up the usual 11 lines of space. I hope you find it useful, it might be a good idea in the long run for Customer Support so you can give specific Error ID's making helping people much quicker and easier. Which is always a good thing we all love quick, easy, fast customer support
GH, i think you got the wrong end of the stick when criticized for having too many lines in your scripts [not by me] it was for too many blank lines, so condensing it all to 1 line is not the solution, scrolling horizontally is very inefficient, as you need to see all code on 1 page.
i'd use the counter object for this myself, but good work anyway..
Apr 9, 2017 13:06:27 GMT
Shoutbox is not guest accessible anymore! If you still want to view or chat in it, please, login or register!
3dradboards.org is always secure!
-- We help others to find their answers and to show their possibilities! --
Be a part of the community today!
"You are always welcome!"