Complete Example Scripts: Difference between revisions
Jump to navigation
Jump to search
m
→Cycle Through a List of Objects and Perform an Action on Each Object(Linked Ref Chain)
imported>Fg109 (a linked ref version of the cycling through formlist example) |
imported>Fg109 |
||
| Line 191: | Line 191: | ||
** You can change the OnActivate to whatever you wish to fire off the action. | ** You can change the OnActivate to whatever you wish to fire off the action. | ||
* You need to create a linked ref chain. | * You need to create a linked ref chain. | ||
** If you don't know how to create a linked ref to another object, read [[ | ** If you don't know how to create a linked ref to another object, read [[Bethesda_Tutorial_Encounters#Default_Master_Package_and_Linked-Refs|this]]. | ||
** A linked ref chain is basically an object that has a linked ref, which has its own linked ref, which also has its own linked ref, etc. | ** A linked ref chain is basically an object that has a linked ref, which has its own linked ref, which also has its own linked ref, etc. | ||
* Remember to attach this script to the first object in the linked ref chain | * Remember to attach this script to the first object in the linked ref chain | ||
** If your linked ref chain links back to itself, then you could put this script on each of the objects | ** If your linked ref chain links back to itself, then you could put this script on each of the objects | ||
===Move an Object to a Specific Location Without Fade=== | ===Move an Object to a Specific Location Without Fade=== | ||