Blocked game? |
Fri, 22 November 2013 08:20 |
thid
Messages: 5 Registered: November 2013
|
Junior Member |
|
|
So while playing around with Debug commands and testing out thinks I run in to strange problem, all doors in sanctuary are closed also I can't do any quest.
Debug.SetCombatFinishersTestMode(true)
Debug.SetHeroMorality(-1000.0)
Debug.SetHeroPurity(-1000)
Debug.SetHeroTan(1.0)
game broke after using this, any ideas how to fix this and why it broke ?
[Updated on: Fri, 22 November 2013 08:20] Report message to a moderator
|
|
|
|
|
Re: Blocked game? |
Fri, 22 November 2013 23:32 |
Artofeel
Messages: 195 Registered: August 2013 Location: Russia
|
Senior Member |
|
|
thid wrote on Sat, 23 November 2013 00:07ok but how to avoid it? or what part of script did broke everything ?
some debug functions doesn't work and break everything that execute after
to avoid this, just put message box to the end of your script
GUI.DisplayMessageBox("OK")
while (GUI.IsDisplayBoxActive()) do
coroutine.yield()
end
so, if everething ok, you will see message, then script is loaded
if no message is appear, then something wrong
|
|
|