Sims 2 My
There are lots of fields here that can be accessed through the My or Stack Object's variable.
This is a number which represents the model or mesh that the object is currently using / made of. For example, love letters are cards when set upon a table, but envelopes when on the floor – two different meshes. The names of these meshes are taken from Text List (STR#) resource 0x00000085 (see String Resources for all the different Text List usages) and this attribute contains the number which points at the correct string.
Of course, in general you don't see graphic being set-up unless an object has multiple meshes to choose between. This is because the default graphic is used. This is set in the OBJD Resource, RAW Data section, Resource cross-refs
An object's direction is recorded as one of 8 points on a compass, with numeric values assigned to represent each point as per the diagram.
container id (0x0002)
Some objects must be on or in something, for example, the coffee maker must be on a counter. The counter would be represented by the container id.
slot number (0x0003)
allowed height flags (0x0004)
See Modding Infocentre - Changing the object Placement for more details. Using the constant instead of the literal value is a good way to ensure you are picking the correct numbers and also helps to make your code readable when you come back to it later.
|0x0101:0x01||2||low table||An object with this flag set, can be placed on these types of surfaces|
|0x0101:0x05||5||non standard||Placeable on a Sim??|
|0x0101:0x08||8||end table||An object with this flag set, can be placed on this type of surface|
|0x0101:0x0B||11||Decorative||For example mantles|
all adjancency flags (0x0005)
Stop Base Interaction (0x0006)
Niceness Score (0x0007)
|0x01||can be stepped over|
|0x02||allow object intersection|
|0x03||allow object and person interaction|
|0x05||allow person interaction|
|0x07||notified by idle for input|
|0x08||Do NOT Use Maya Model Footprint||See Tutorial:Fixing the footprint (or "stop walking through my object!")|
|0x0B||hide for cutaway||When you choose to play with either cut-away walls or walls that are completely hidden, objects with this flag set will be hidden.|
|0x0C||unused - was fireproof|
|0x0E||Add floor if required|
footprint index (0x0009)
route penalty (0x000A)
The run-time ID that represents this object or Sim.