Insimenator.org
March 28, 2024, 10:11:10 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home   Forum   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Placement Flags [Data Label]  (Read 4236 times)
0 Members and 1 Chinese Bot are viewing this topic.
Eric
BANNED
Member

Posts: 1404


View Profile
« on: August 28, 2005, 10:11:42 pm »

These are my notes on how the Placement Flags are used. This is by no means a complete set of instructions for this Data Label, but a work in progress.

Placement flags define where an object can be placed. (under water, pool, slope etc.)

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

My 0x002A Set Flag Literal Value 0x0001 - allow on floor
My 0x002A Set Flag Literal Value 0x0002 - allow on terrain
My 0x002A Set Flag Literal Value 0x0003 - allow under water
My 0x002A Set Flag Literal Value 0x0004 - forced to slot orientation
------------ 0x0005 ------------ *unused -----------
------------ 0x0006 ------------ *unused -----------
My 0x002A Set Flag Literal Value 0x0007 - allow on locked tile
My 0x002A Set Flag Literal Value 0x0008 - detached from floor
My 0x002A Set Flag Literal Value 0x0009 - allow on slope
My 0x002A Set Flag Literal Value 0x000A - allow in air
My 0x002A Set Flag Literal Value 0x000B - allow wall intersection
My 0x002A Set Flag Literal Value 0x000C - allow in pool
My 0x002A Set Flag Literal Value 0x000D - attached to ceiling
My 0x002A Set Flag Literal Value 0x000E - allow on fence post
My 0x002A Set Flag Literal Value 0x000F - allow on water surface
My 0x002A Set Flag Literal Value 0x0010 - allow roof intersection

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.



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.027 seconds with 31 queries.
SimplePortal 2.1.1