Insimenator.org
October 01, 2020, 08:33:07 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Insim's annual Donation Drive is on! Click here for info and to toss some money our way.
 
  Home   Forum   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Allowed Height Flags [Data Label]  (Read 3277 times)
0 Members and 1 Guest are viewing this topic.
Eric
BANNED
Member

Posts: 1404


View Profile
« 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



Feel free to offer your input and/or correct errors on my part.
Logged
Pages: [1]
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.164 seconds with 30 queries.
SimplePortal 2.1.1