Difference between revisions of "Introduction to Pluggy Arrays"
→Example: Added warning
imported>Haama (→Managing Arrays: Explained how to reuse the array) |
imported>Speedo (→Example: Added warning) |
||
Line 150: | Line 150: | ||
endif | endif | ||
</pre> | </pre> | ||
===Note=== | |||
The above example is intended only as a demonstration of array usage, and is not recommended for actual use in a mod. If the player had any significant number of items in his inventory, the above code would be extremely taxing on the CPU, and likely would cause the game to appear to freeze for a second or two. | |||
==Overview for Programmers== | ==Overview for Programmers== |