OpCode

From SimsWiki
Revision as of 15:26, 6 October 2006 by Zookini (Talk | contribs)

Jump to: navigation, search

OpCodes

Each instruction in a BHAV begins with a 2 byte Operation Code, or OpCode. An OpCode is also known as a Function Call. These codes fall into one of four general categories, as follows:

OpCodes "0x0000 - 0x00FF" are Primitives (also known as 'canned', 'inline', or 'built-in' functions) OpCodes "0x0100 - 0x0FFF" are Globals (Global functions can be used by any object in the game) OpCodes "0x1000 - 0x1FFF" are Locals (Locals are specific to this object) OpCodes "0x2000 - 0x2FFF" are SemiGlobals (Semi-Globals are used by a group of related objects)

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox