![]() |
Suggestions for Debugging Scripts
Has anyone found a simple function (like a one or two-liner) that can be used for debugging scripts during the game?
I'm sure somebody out there has a clever debug technique. Original thread |
I posted this a month or so ago, but I figured I would add it to the sticky post to help anyone new to scripting KOTOR.
The command SendMessageToPC will print a message to the ingame feedback screen. The proper syntax is: Code:
object oPC=GetFirstPC();Code:
object oPC=GetFirstPC();Code:
SendMessageToPC(GetFirstPC(),"OBJECT_SELF's name is: "+GetName(OBJECT_SELF)); |
| All times are GMT -4. The time now is 05:40 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.