Page 1 of 1

multiple triggers

Posted: Mon Jun 07, 2004 2:08 am
by fuhrer
how do i make a bunch of triggers with the same targetname but different number nottriggerable at once.

i.e.

this_trigger_1 nottriggerable
this_trigger_2 nottriggerable
this_trigger_3 nottriggerable

i basically want

this_trigger_(1 2 & 3) nottriggerable

Posted: Mon Jun 07, 2004 2:23 am
by bdbodger
for(local.i=1;local.i <= 3;local.i++)
{
$("this_trigger_" + local.i) nottriggerable
}

typo fixed second local.i was written as local.1

Posted: Mon Jun 07, 2004 2:45 am
by fuhrer
cheers m8