Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Animation Delay Script

Solution ON ENTER{
0 ME SETALARM
}

ON ALARM {
;The number of pics you wish to animate.
15 num_pics =
;The time each image shows for, in ticks
30 num_ticks =
;The delay between each loop, in ticks
3600 num_delay =

;60 ticks = 1 second.

0 ME SETSPOTSTATELOCAL
0 count =
{
{ME GETSPOTSTATE 1 + ME SETSPOTSTATE} num_ticks ALARMEXEC
count ++} {count num_pics <} WHILE
num_delay ME SETALARM

}
 
Was this article helpful? yes / no
Article details
Article ID: 265
Category: Room Scripts
Date added: 07-28-2011 00:52:19
Views: 512
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™