Insimenator.org

Simmers' Paradise => Modding Database => Topic started by: Eric on August 21, 2005, 04:14:15 pm



Title: Movement Flags [Data Label]
Post by: Eric 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.


SimplePortal 2.1.1