PDA

View Full Version : looping a script



Hot Water Music
10-11-2010, 11:00 PM
I want to create a script that loops. The while(true) function does that, but it only works for FFCs.
So I made a global script that makes an FFC do things, but for some reason the script won't set even after I tell it to. I also wanted to loop in an item script but it doesn't allow looping either.



global script Slot_2{
void run(){


ffc midicontrol=Screen->LoadFFC(26);
midicontrol->Data=49;
midicontrol->Script=23;
midicontrol->CSet=midicontrol->Script;
}


Why isn't this working?

Hot Water Music
10-12-2010, 01:39 AM
Nevermind it wasn't working for some reason in the global scripts at first but now it is.