PMC websites shut down October 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond october 13th 2025 when yearly web hosting fees are due.

User Tools

Site Tools


ofp:missions:errorunknownoperator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ofp:missions:errorunknownoperator [2008/04/27 14:35] – created initial errorunknownoperator page snakemanofp:missions:errorunknownoperator [2024/07/31 13:11] (current) – links added. snakeman
Line 1: Line 1:
-====== Error Unknown Operator ======+====== OFP Error Unknown Operator ======
  
-This error occurs when the game engine has attempted to parse something as an operator, but could not successfully find the given symbol. +[[https://www.pmctactical.org/forum/viewforum.php?f=43|OFP Forum]], [[:ofp|OFP Home]], [[ofp:file_formats|OFP File Formats]], [[ofp:tools|OFP Tools]], [[ofp:missions|OFP Missions]], [[ofp:modeling|OFP 3D Modeling]], [[ofp:terrain|OFP Terrain]] 
 + 
 +**Operation Flashpoint (OFP)** aka ArmA: Cold War Assault (CWA) 
 + 
 +This error occurs when the game engine has attempted to parse something as an operator, but could not successfully find the given symbol.
  
 Examples: Examples:
Line 9: Line 13:
 </code> </code>
  
-There are several reasons why this might happen. If a script intended for a new version of OFP makes use of a new operator, and is run on an old copy of the game, this error will show up. Another common cause is when executing a formatted String as an instruction, where a variable inside the instruction is undefined. +There are several reasons why this might happen. If a script intended for a new version of OFP makes use of a new operator, and is run on an old copy of the game, this error will show up. Another common cause is when executing a formatted String as an instruction, where a variable inside the instruction is undefined.
  
-Example: +Example:
 <code> <code>
-["a = %1", b] +["a = %1", b]
 </code> </code>
  
-Outputted instruction: +Outputted instruction: 
 + 
 +a = scalar bool array string 0xfcfffef
  
-a = scalar bool array string 0xfcfffef +Result:
  
-Result: +The engine interprets 'scalar' as an uninitialized variable (similar to 'b' in the above example), and the parser expects an operator as the next token. 'bool' cannot be found in the list of operators (since it isn't one), and so an Unknown Operator message is given.
  
-The engine interprets 'scalar' as an uninitialised variable (similar to 'b' in the above example), and the parser expects an operator as the next token. 'bool' cannot be found in the list of operators (since it isn't one), and so an Unknown Operator message is given. 
ofp/missions/errorunknownoperator.1209306905.txt.gz · Last modified: 2008/04/27 14:35 (external edit)