Complete Example Scripts: Difference between revisions
Jump to navigation
Jump to search
→Link to Formlist in Cycle Through an Array of Objects and Perform an Action on Each Object(FormLists)
imported>Evernewjoy |
imported>Evernewjoy |
||
| Line 56: | Line 56: | ||
===Cycle Through an Array of Objects and Perform an Action on Each Object(FormLists)=== | ===Cycle Through an Array of Objects and Perform an Action on Each Object(FormLists)=== | ||
This example script cycles through an array of objects, known as a | This example script cycles through an array of objects, known as a [[Formlist]], and enables them all if they are disabled, and disables them if they are enabled, each time the player character walks through a chosen trigger volume. | ||
If you use a | If you use a [[Formlist]] of special effects, this would cause all the many special effects you have in the formlist to disappear or reappear each time you walk through the trigger volume. | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||