Date: Fri, 8 Dec 1995 13:07:38 -0800 From: West <eisen@WORLD.STD.COM> Subject: one for the toolboxHave you ever had to work on someone else's Lingo?
Well, wonder no more! 'whereUsed' is here!
(don't mind my enthusiasm, I'm just pleased with myself for finally getting off my butt and making a tool I've wanted instead of grumping about the lack of it in Director)
The ability to set the scoreColor would make this _much_ better, <sigh>.
To use:
in the message window type:
whereUsed xwhere x is the castnumber of the script in question.
--8<------------------------------------------------
on whereUsed scriptnumber
put the frame into whereIwas
-- make it go faster by hiding everything
repeat with x= 1 to 48
set the visible of sprite x to False
end repeat
put "Script" && scriptNumber && "is the script for:"
-- check every sprite in every frame (brutish but thorough)
-- and put a list of hits to the message window
repeat with f = 1 to the lastFrame
go frame f
if the framescript = scriptnumber then
put "The frame script of frame" && f
end if
repeat with c = 1 to 48
if the scriptnum of sprite c = scriptnumber then
put "Frame" && f &&", Channel " && c
end if
end repeat
end repeat
put "Done"
-- restore full visibility and return 'home'
repeat with x= 1 to 48
set the visible of sprite x to True
end repeat
go whereIwas
-- by Carl West eisen@world.std.com
end
--8<------------------------------------------------