Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Palace Name/Logo Fade Script

Solution This is the script i use to fade the logo in and out at my Palace's gate

The script assumes the first picture slot in the door is empty and the actual picture be in the second slot.
Also that the state of the door be set to zero.


ON ENTER {
op GLOBAL 0 op =
200 ME SETALARM
}
ON ALARM {
op GLOBAL 10 op +=
op 1 ME SETPICOPACITY
1 ME SETSPOTSTATELOCAL
{3 ME SETALARM}
{{{{op GLOBAL 10 op -= op 1 ME SETPICOPACITY} i 3* ALARMEXEC i++}{9 i >} WHILE
{0 ME SETSPOTSTATELOCAL} i 3* ALARMEXEC} 300 ALARMEXEC} op 100 < IFELSE
}
 
Was this article helpful? yes / no
Article details
Article ID: 79
Category: Room Scripts
Date added: 04-03-2011 15:43:03
Views: 466
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™