Difference between revisions of "ArrayProtect"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
imported>Speedo
 
Line 13: Line 13:


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

Latest revision as of 11:54, 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.