Difference between revisions of "Category:Pluggy"
Jump to navigation
Jump to search
→Some peculiarities (compared to other Oblivion functions): More notes
imported>Haama (Added pecularity section) |
imported>Haama |
||
Line 48: | Line 48: | ||
*Most Pluggy functions can be used to both return and set a value. This is determined by an optional flag - if it's left empty the value will be returned and if it's filled the value will be set to that flag. | *Most Pluggy functions can be used to both return and set a value. This is determined by an optional flag - if it's left empty the value will be returned and if it's filled the value will be set to that flag. | ||
**For example, '''ArraySize 0''' will return the size of Array 0 while '''ArraySize 0 10''' will set Array 0's size to 10 indexes. | **For example, '''ArraySize 0''' will return the size of Array 0 while '''ArraySize 0 10''' will set Array 0's size to 10 indexes. | ||
*Each array is associated with a mod (either Esp or Esm). If the mod is removed then the array will be removed once the player saves. | |||
**There is also a system to prevent other mods from accidentally modifying your arrays and to prevent other mods from modifying your arrays. | |||
**#To modify an array from another mod the modder will need to include a special Global flag to their function. | |||
**#If you want to prevent any other mod from modifying your arrays, add a special Protection flag when you create it or set it later with [[ArrayProtect]] | |||
**#Note that other mods will be able to look at your array regardless of Protection or Global flags. | |||
**#The corresponding mod for each array can be changed with [[ArrayEsp]]. | |||
*Arrays have indexes from 0 to (array size - 1). The array size is set when you first create the array and can be modified with [[ArraySize]]. | |||
*There are 3 '''SetInArray''' and '''FindInArray''' functions: one for integers, one for floats, and one for references. | |||
[[Category: OBSE Plug-Ins]] | [[Category: OBSE Plug-Ins]] | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Functions (OBSE)]] | [[Category: Functions (OBSE)]] |