Difference between revisions of "ArrayProtect"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>Speedo
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__


{{Beta}}
A command for [[:Category:Pluggy|Pluggy]]
A command for [[:Category:Pluggy|Pluggy]]


Line 10: Line 9:
*If Protected is not specified, it returns the current Protected flag state.
*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.
*If Protected is specified, it sets the Protect flag state of the array.
**Only the esp associated with the array can modify the Protected flag.
**Only the mod associated with the array can modify the Protected flag.
*If the array does not exists, it returns -1.
*If the array does not exist, it returns -1.


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

Latest revision as of 12: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.