This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Introduction to Pluggy Arrays"

Jump to navigation Jump to search
m
imported>Speedo
(→‎Overview for Programmers: Removed link (changed my mind about doing the multi-dimension array article))
imported>Speedo
m (→‎Example: Typo)
 
Line 99: Line 99:
*'''pItemCount''', which store the number of items that the player has.
*'''pItemCount''', which store the number of items that the player has.


These arrays simply using matching indexes to store information, meaning that if you find an item at index 5 in '''pInventory''', you know that you can look at index 5 of '''pItemCount''' to find out how many of those items the player is carrying.
These arrays simply use matching indexes to store information, meaning that if you find an item at index 5 in '''pInventory''', you know that you can look at index 5 of '''pItemCount''' to find out how many of those items the player is carrying.


<pre>
<pre>
Anonymous user

Navigation menu