Difference between revisions of "0x0014"
From SimsWiki
MogHughson (Talk | contribs) (Created page with '{{Primitive |name=Run Functional Tree |opcode=0x0014 |expansion=The Sims 2 }} ==Overview== This primitive provides a way to run one of the main functions within t…') |
MogHughson (Talk | contribs) (→Overview) |
||
Line 6: | Line 6: | ||
==Overview== | ==Overview== | ||
− | This [[Primitives|primitive]] provides a way to run one of the main functions within the game that an object provides. It is often used after running [[0x000D|Find Best Object for Function [0x000D]]] | + | This [[Primitives|primitive]] provides a way to run one of the main functions within the game that an object provides. It is often used after running [[0x000D|Find Best Object for Function [0x000D]]] which has the effect of setting the |
<br clear="all"/> | <br clear="all"/> |
Revision as of 17:26, 23 April 2011
Run Functional Tree | ||
---|---|---|
OpCode: | 0x0014 | |
Game Version: | The Sims 2 |
Overview
This primitive provides a way to run one of the main functions within the game that an object provides. It is often used after running Find Best Object for Function [0x000D] which has the effect of setting the
Use
There is no instruction wizard for this instruction, so the following table details the meaning of each of the operands.
Operand | Description | Operand Values |
---|---|---|
0 | Function | 00: prepare food 01: cook food 02: flat surface 03: ... |
1 | Unused | |
2 - bit 1 | Controls change icon | off: False on: True |
2 - bit 2 | Controls passing parameters from calling tree | off: False on: True |
2 - bit 3 | Controls running check tree only | off: False on: True |
3 thru 15 | unused |