;; ;; Master Link Script - Generic link script ;; ;; Usage: Base script for linked animated textures. This script simply flashes multiple textures ;; in sync. ie use with lightining and surrounding affected areas. ;; ;; Slaves are lnkSlv.ats and lnkSlv2.ats ;; ;; Script Name Scriptname lnkMstr Start: Rate 1,0 ;; Set the Anim Rate to 30 fps Tex 0 ;; Set the texture to Frame 0 ;; ;; Main Loop ;; Loop: Wait 0,1 ;; Wait randomly between 0 to 160 frames ;;XRef slaveSetTexture1 ;; Tell slave to set texture ;;Tex 1 ;; Set texture ;;Wait 2,10 ;;XRef slaveResetTexture ;; Tell slave to reset texture ;;Tex 0 ;; Reset texture Goto Loop ;; Restart the loop ;; ;; Flash on hit ;; On 8 XRef slaveSetTexture1 ;; Tell slave to set texture Tex 1 ;; Set texture ;;Wait 2,10 ;; Hold frame End Off 8 XRef slaveResetTexture ;; Tell slave to reset texture Tex 0 ;; Reset texture End On 9 XRef turnoff ;; Turn off object Tex 2 ;; Turn off object