2 // control/automation/foreach.qc
4 void() Item_Automation_ForEach_Spawn =
8 Item_Automation_Init();
13 lLink = Menu_GetItem( self.link );
14 if( !self.target || !isfunction( strcat( self.target, "_Spawn" ) ) ) {
15 objerror( "Bad target type!" );
19 for( self._current = lLink._child ; self._current ; self._current = self._current._next )
20 if( self._current.type == self.target )