! Version 2.0 . The first version had a BUG. If you left the screen on the
! first step of animation, then came back when minute % 2 still equals 0
! the animation would totally screw up. This fixes the BUG completely.
! This is a little script made by me, AbyssDragon. It makes objects of the
! type ANIMATION or ANIMATED_THING animate. Every other minute it switches
! the graphic block with the number in it's object.count, then it
! switches back the next minute.
! Since object.count is useless unless you can get the object, I decided to
! use it. You could very easily add another object modifier in dcctoken.dat
! for ANIMATIONs and ANIMATED_THINGs.
foreach object do
if object.type = ANIMATION or object.type = ANIMATED_THING then
if minute % 2 = 0 then
object.block = object.count;
else
object.block = object.count + 1;
endif;
endif;
endfor;
! The End
! Q: What's the difference between ANIMATIONs and ANIMATED_THINGs?
! A: Nothing in this script. I have it so you can't walk onto a square
! occupied by an ANIMATED_THING, but you can onto an ANIMATION. Just
! intercept that part of the script in control.scr. Its too easy to
! do, and too lengthy for me to add into here.
               (
geocities.com/timessquare)