Common Scripting Errors – Category

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
===Errors to be Added===
===Errors to be Added===


[[Error Invalid Number in Expression]] ( incomplete / malformed expression )
[[Error Type Something Expected Nothing]] ( incomplete statement / expression only )
 
Type ... Expected Nothing ( incomplete statement / expression only )


Error Unknown Operator '..' ( OFP has attempted to parse an expression, but cannot find the operator specified. Generally happens when new scripting commands are run under old versions, or when an uninitialised variable is converted to a string. Example: call format ["a = %1", b] runs 'a = scalar bool array ...'. OFP interpretes 'scalar' as an uninitialised variable, then 'bool' as an operator)
Error Unknown Operator '..' ( OFP has attempted to parse an expression, but cannot find the operator specified. Generally happens when new scripting commands are run under old versions, or when an uninitialised variable is converted to a string. Example: call format ["a = %1", b] runs 'a = scalar bool array ...'. OFP interpretes 'scalar' as an uninitialised variable, then 'bool' as an operator)

Revision as of 02:07, 11 June 2006

Introduction

Scripting in Operation Flashpoint can generate some errors here and there, it should be considered that all error messages that show up in white lettering across the top of the screen in game are scripting related.

Errors to be Added

Error Type Something Expected Nothing ( incomplete statement / expression only )

Error Unknown Operator '..' ( OFP has attempted to parse an expression, but cannot find the operator specified. Generally happens when new scripting commands are run under old versions, or when an uninitialised variable is converted to a string. Example: call format ["a = %1", b] runs 'a = scalar bool array ...'. OFP interpretes 'scalar' as an uninitialised variable, then 'bool' as an operator)