Difference between revisions of "ArrayProtect"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
m
imported>Speedo
Line 12: Line 12:
*If the array does not exist, it returns -1.
*If the array does not exist, it returns -1.


[[Category: Pluggy]]
[[Category: Functions (Pluggy)]]

Revision as of 11:43, 26 February 2008


A command for Pluggy

Syntax:

(EspID:long) ArrayProtect ArrayID:long Protected:short

Returns or sets the Protection of the array.

  • If Protected is not specified, it returns the current Protected flag state.
  • If Protected is specified, it sets the Protect flag state of the array.
    • Only the mod associated with the array can modify the Protected flag.
  • If the array does not exist, it returns -1.