home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Maximum 3D 3
/
m3d-p3.iso
/
3DS_MAX
/
3DSMAX.2_0
/
SCRIPTS
/
PLAYEVER.MS
< prev
next >
Wrap
Text File
|
1997-10-19
|
676b
|
27 lines
-- This is a little utility that puts up a start and
-- stop play button that will keep MAX running its
-- animation indefinitely. The MAX play button in the UI
-- cancels out of play after a few minutes.
-- Handy for running un-attended animation demos.
--
-- John Wainwright
-- Note: This script works only on Windows NT and not on 95.
utility playon "Play Forever"
(
local running
button start "Start play"
button stop "Stop play"
on start pressed do
(
running = true
while running do playAnimation ()
)
on stop pressed do
(
running = false
stopAnimation ()
)
)