Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

looping a script

1 replies · 1,350 views · Started 12 October 2010

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?