Error Messages – Arma 3
Jump to navigation
Jump to search
Matty Smith (talk | contribs) (Created page with " === Error types === Errors can be Normal, or DebugOnly. If it is DebugOnly, the error will only show when Arma 3 is in debug mode. Errors can also oc...") |
Matty Smith (talk | contribs) (Added categories) |
||
Line 1: | Line 1: | ||
[[Category:Arma 3: Editing]] | |||
[[Category:Scripting Topics]] | |||
=== Error types === | === Error types === | ||
Revision as of 16:30, 12 October 2021
Error types
Errors can be Normal, or DebugOnly. If it is DebugOnly, the error will only show when Arma 3 is in debug mode.
Errors can also occur with, or without context. This is additional information about where the error occurs to improve the experience of debugging. However, even if an error occurs, additional context for the error will only be shown if Arma 3 is in debug mode
Script errors
Error | Type | Context | Description | Example |
---|---|---|---|---|
Generic Error in Expression | Normal | Context | The type of an argument to a command is incorrect. | systemChat 10
|
A command that can only be run in a scheduled environment was instead run in an unscheduled environment (sleep, spawn) | sleep 10
| |||
Zero Divisor | Normal | Context | A number was divided by 0 | 10/0
|
An array index was accessed that doesn't exist | [1,2,3] select 20
| |||
Attempt to override final function | Normal | Context | A compileFinaled function was attempted to be overwritten | BIS_fnc_endMission = {systemChat "Trying to do bad things"}
|
getVariable called on null object | DebugOnly | Context | getVariable was called on a null namespace | objNull getVariable "varname"
|
getVariable called on null group | grpNull getVariable "varname"
|
Stringtable errors
Error | Type | Context | Description | Example |
---|---|---|---|---|
Unsupported language English in stringtable | Normal | Context | This happens if an entry was not found in the desired language e.g., English |