Insimenator.org
April 25, 2024, 06:34:07 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: Movement Flags [Data Label]  (Read 4329 times)
0 Members and 1 Chinese Bot are viewing this topic.
Eric
BANNED
Member

Posts: 1404


View Profile
« on: August 21, 2005, 04:14:15 pm »

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

Movement flags define who can move/delete an object and when and how an object can be moved/deleted, once it is placed on a lot.

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

My 0x002B Set Flag Literal Value 0x0001 - sims can move it
My 0x002B Set Flag Literal Value 0x0002 - players can move it
My 0x002B Set Flag Literal Value 0x0003 - self propelled
My 0x002B Set Flag Literal Value 0x0004 - players can delete it
My 0x002B Set Flag Literal Value 0x0005 - stays after evict
My 0x002B Set Flag Literal Value 0x0006 - hand tool cannot move it
My 0x002B Set Flag Literal Value 0x0007 - hand tool cannot delete it

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.016 seconds with 30 queries.
SimplePortal 2.1.1