Difference between revisions of "ArrayProtect"
Jump to navigation
Jump to search
imported>Haama (Created) |
imported>Haama (Works with esms too) |
||
Line 10: | Line 10: | ||
*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 | **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 exists, it returns -1. | ||
[[Category: Pluggy]] | [[Category: Pluggy]] |
Revision as of 15:13, 14 February 2008
Beta Function
This function has not been fully tested yet, and is not ready to be used in a released mod. It may not have the same function in later versions, may require the script to be recompiled, or simply may be removed. Use for testing purposes only until the author of the function says otherwise.
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 exists, it returns -1.