home *** CD-ROM | disk | FTP | other *** search
- /*
- ** OverrideLength.fred
- **
- ** $VER: OverrideLength.fred 1.1.0 (24.10.93)
- **
- ** This program can be run from an InvokeADPro list to force an InvokeADPro
- ** session that uses the SaveAsANIM.fred script (or any other script which pays
- ** attention to the Length parameter) and is being run with the Invoke cycle
- ** gadget set to Once Per Frame to work properly (i.e., each modified frame
- ** will only be saved out once). This situation can arise when you have cells
- ** that are not of length 1, but you want your SaveAsANIM (or similar functioning)
- ** script to work properly.
- **
- ** If you use this script, then be sure to set the Invoke cycle gadget to Once
- ** Per Frame and insert this script just before the script (such as SaveAsANIM)
- ** that needs to be overridden.
- **
- ** At this time, this script is hard-coded to set the FREDOverrideLength to 1.
- ** It wouldn't be very difficult at all to make it user-configurable, just by
- ** adding a OverrideLength.fred.pre script that queries the user for the "global"
- ** length to set each cell.
- **
- ** This script requires FRED v1.4.0 (or higher) to run. Also required is
- ** ADPro v2.5.0 (or higher).
- **
- ** Copyright © 1993 ASDG, Incorporated
- ** All Rights Reserved
- */
-
-
- NL = '0A'X
- SQ = '27'X
- DQ = '22'X
- TRUE = 1
- FALSE = 0
-
-
- /*
- ** Update the clips.
- */
-
- SETCLIP( "FREDOverrideLength", 1 )
-
- EXIT 0
-