Difference between revisions of "Complete Example Scripts"
Jump to navigation
Jump to search
→Usage of Arrays to Make Scripts Compact
imported>SarthesArai m (→Enable/Disable Lock on object based on hours of day: internal link) |
imported>Quindraco |
||
Line 286: | Line 286: | ||
EndIf | EndIf | ||
EndEvent</source> | EndEvent</source> | ||
Note that bEnableBeasts is a property so one can decide with each instance which way the script should work. One could use a FormList rather than an array or simply set one | Note that bEnableBeasts is a property so one can decide with each instance which way the script should work. One could use a FormList rather than an array or simply set one Draugr as the enable parent of the other 29 and enable/disable him, and thus all the children refs simultaneously. | ||
'''How to Make This Script Work''' | '''How to Make This Script Work''' |