Common Scripting Errors – Category

From Bohemia Interactive Community
Revision as of 14:56, 10 June 2006 by Hoz (talk | contribs) (For Fragorl)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Place holder for common scripting Errors.

Generic Error in Expression ( providing operators with incorrect operand types )

Invalid number in expression ( incomplete / malformed expression )

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)