Editing Causes of CTDs
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 52: | Line 52: | ||
End | End | ||
</pre> | </pre> | ||
===Unexpected returns during immediate game start up=== | ===Unexpected returns during immediate game start up=== | ||
Line 60: | Line 57: | ||
===Invalid string formatting=== | ===Invalid string formatting=== | ||
Using invalid | Using invalid format specifiers or mismatched number of arguments to format may crash the game (and at best the script), for example: | ||
<pre> | <pre> | ||
DebugPrint "GunScript %n: Shooting %2.0 bullets" rActor iBullets | DebugPrint "GunScript %n: Shooting %2.0 bullets" rActor iBullets | ||
; you meant "%2.0f" but missed the f | ; you meant "%2.0f" but missed the f | ||
</pre> | </pre> | ||
===Invalid And/Or syntax for conditions=== | ===Invalid And/Or syntax for conditions=== |