Difference between revisions of "SetCellPublicFlag"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(CS 1.0 stuff)
imported>Fella
Line 9: Line 9:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Crime Functions]]
[[Category: Crime Functions]]
[[Category: Crime Functions (CS 1.0)]]
[[Category: Crime Functions (CS 1.0)]]

Revision as of 11:55, 23 January 2008

Syntax:

SetCellPublicFlag CellID, Flag 
setpublic CellID, Flag 

Example:

SetCellPublicFlag MyCell, 1 

Sets the cell's public flag (1 or 0). Cells which are public cannot have trespassing, so this is useful for changing the crime behavior in cells.