Difference between revisions of "Category:Pluggy"
Jump to navigation
Jump to search
→Some peculiarities (compared to other Oblivion functions): Cleanup, removed redundant info
imported>Speedo (Added link to current forum thread) |
imported>Speedo (→Some peculiarities (compared to other Oblivion functions): Cleanup, removed redundant info) |
||
Line 56: | Line 56: | ||
**#The corresponding mod for each array can be changed with [[ArrayEsp]]. | **#The corresponding mod for each array can be changed with [[ArrayEsp]]. | ||
*Each array has its own ID which is a [[Long]] number from 0 up. For instance, the first array you create will have an ID of 0, and the second one will have an ID of 1. The ID is returned when you create the array (either via [[CreateArray]] or [[CopyArray]]). | *Each array has its own ID which is a [[Long]] number from 0 up. For instance, the first array you create will have an ID of 0, and the second one will have an ID of 1. The ID is returned when you create the array (either via [[CreateArray]] or [[CopyArray]]). | ||
**You can store the ID in a [[Long]] variable, scripted effect (with [[SetNthEffectItemMagnitude]]), etc., and | **You can store the ID in a [[Long]] variable, scripted effect (with [[SetNthEffectItemMagnitude]]), etc., and it behaves exactly like any other number. | ||
**If you wish to test a variable for a valid ArrayID, use the function [[ArrayCount]]. | **If you wish to test a variable for a valid ArrayID, use the function [[ArrayCount]]. | ||
***While various Pluggy functions are capable of checking the validity of an ArrayID, [[ArrayCount]] is recommended since it does not have the potential to alter the array if used incorrectly. | ***While various Pluggy functions are capable of checking the validity of an ArrayID, [[ArrayCount]] is recommended since it does not have the potential to alter the array if used incorrectly. | ||
*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]]. | *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]], or when inserting data with the '''SetInArray''' functions. | ||
*There are 3 '''SetInArray''' and '''FindInArray''' functions: one for integers, one for floats, and one for references. | *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)]] |