Insimenator.org

Simmers' Paradise => Modding Database => Topic started by: Eric on August 28, 2005, 10:16:07 pm



Title: Allowed Height Flags [Data Label]
Post by: Eric on August 28, 2005, 10:16:07 pm
These are my notes on how the Allowed Height Flags are used. This is by no means a complete set of instructions for this Data Label, but a work in progress.

Allowed Height flags define how high an object can be placed. (floor level, dining table level, counter level etc.)

In your objects Function - Init BHAV, you would place any, none or all of the following script to set the objects Allowed Height flags (depending on the objects purpose or function).

My 0x0004 Set Flag Constant Value 0x0101:0x01 - placeable on low tables
My 0x0004 Set Flag Constant Value 0x0101:0x02 - placeable on dining tables
My 0x0004 Set Flag Constant Value 0x0101:0x03 - placeable on counters
My 0x0004 Set Flag Constant Value 0x0101:0x04 - placeable on floor
My 0x0004 Set Flag Constant Value 0x0101:0x05 - placeable on sims
My 0x0004 Set Flag Constant Value 0x0101:0x06 - object can be picked up
My 0x0004 Set Flag Constant Value 0x0101:0x07 - allow sitting
My 0x0004 Set Flag Constant Value 0x0101:0x08 - placeable on end tables
My 0x0004 Set Flag Constant Value 0x0101:0x09 - placeable in counters
My 0x0004 Set Flag Constant Value 0x0101:0x0A - placeable under counters
My 0x0004 Set Flag Constant Value 0x0101:0x0B - placeable on decorative slots

To remove any of the above flags you would replace Set Flag with Clear Flag.

Check Filetypes Object Functions in your objects file structure, if you are not sure which BHAV is the Function - Init file being used by your object.

Be sure to read the following thread  ---> Constant Value vs. Literal Value (http://www.insimenator.net/viewtopic.php?t=1291)



Feel free to offer your input and/or correct errors on my part.


SimplePortal 2.1.1