Difference between revisions of "0x0012"
From SimsWiki
m (→See also: Small fix) |
MogHughson (Talk | contribs) (→Use) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Primitive | |
+ | |name=Remove Object Instance | ||
+ | |opcode=0x0012 | ||
+ | |expansion=The Sims 2 | ||
+ | }} | ||
==Overview== | ==Overview== | ||
− | + | This [[Primitives|primitive]] allows you to remove (delete) an object inside the simulation from [[SimAntics]]. It is essentially the opposite of [[0x002A|Create New Object Instance [0x002A]]]. | |
==Use== | ==Use== | ||
− | + | There is no instruction wizard for this instruction, so the following table details the meaning of each of the operands. | |
− | + | [[Image:BHAVoperands.JPG|thumb|300px|right|Operand editing]] | |
− | + | ||
− | + | {| class="wikitable" | |
+ | |- | ||
+ | !Operand!!Description!!Operand Values | ||
+ | |- | ||
+ | |0||What to remove||00:Me<br>anything else:Stack Object | ||
+ | |- | ||
+ | |1||colspan="2"|Unused? | ||
+ | |- | ||
+ | |2 - bit 1||Controls "return immediately"||off: False<br>on: True | ||
+ | |- | ||
+ | |2 - bit 2||Controls "clean up all"||off: True<br>on: False (N.B. reversed from usual bit settings) | ||
+ | |- | ||
+ | |3 thru 15||colspan="2"|Unused? | ||
+ | |} | ||
==See also== | ==See also== | ||
*[[Primitives]] | *[[Primitives]] | ||
*[[SimAntics]] | *[[SimAntics]] | ||
− | |||
− |
Latest revision as of 20:50, 29 December 2009
Remove Object Instance | ||
---|---|---|
OpCode: | 0x0012 | |
Game Version: | The Sims 2 |
[edit] Overview
This primitive allows you to remove (delete) an object inside the simulation from SimAntics. It is essentially the opposite of Create New Object Instance [0x002A].
[edit] 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 | What to remove | 00:Me anything else:Stack Object |
1 | Unused? | |
2 - bit 1 | Controls "return immediately" | off: False on: True |
2 - bit 2 | Controls "clean up all" | off: True on: False (N.B. reversed from usual bit settings) |
3 thru 15 | Unused? |