/ : : / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / : : / / 
 
 / / : :   I n v i z i b l e 4 2 0 ' s   A l t e r n a t e   T i m e s t o p   S p e l l                     / / : : / / 
 
 / / : :                                                                                                     / / : : / / 
 
 / / : :   B y :   I n v i z i b l e 4 2 0                                                                   / / : : / / 
 
 / / : :   ( C r e a t e d   1 2 / 2 0 / 0 2   u p d a t e d   1 2 / 2 7 / 0 2   ( v   1 . 0 5 )             / / : : / / 
 
 / / : : / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / : : / / 
 
 / / : :                                                                                                     / / : : / / 
 
 / / : :   P e r s i s t e n t   W o r l d   W o r k a r o u n d   f o r   B i o w a r e ' s                 / / : : / / 
 
 / / : :   D e f a u l t   T i m e s t o p   S p e l l .     T h i s   w i l l   D e c r e a s e             / / : : / / 
 
 / / : :   A t t a c k   a n d   M o v e m e n t   S p e e d ,   t h e n   C u t S c e n e D o m i n a t e   / / : : / / 
 
 / / : :   c r e a t u r e s   w i t h i n   a   r a d i u s   o f   t h e   c a s t e r .                   / / : : / / 
 
 / / : :                                                                                                     / / : : / / 
 
 / / : :   T h i s   v e r s i o n   n o w   u s e s   t h e   m o d u l e   t o   d o m i n a t e   t h e   / / : : / / 
 
 / / : :   t h e   c r e a t u r e s ,   t h i s   s t o p s   P C   f r o m   d o m i n a t i n g           / / : : / / 
 
 / / : :   o t h e r   P C ' s .     A l s o   a d d e d   a   f i x   t o   n o t   d o m i n a t e         / / : : / / 
 
 / / : :   a   c a s t e r ' s   f a m i l i a r s .                                                         / / : : / / 
 
 / / : :                                                                                                     / / : : / / 
 
 / / : :   C o n t a c t   i n f o / B u g   R e p o r t s :   D i g i d d y 7 7 7 @ y a h o o . c o m       / / : : / / 
 
 / / : : / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / : : / / 
 
 # i n c l u d e   " N W _ I 0 _ G E N E R I C " 
 
 / /   C u s t o m i z e   U s e r   D e f i n e d   V a r i a b l e s 
 
 f l o a t   f D u r       =   1 5 . 0 ;   / /   D u r a t i o n   i n   s e c o n d s 
 
 f l o a t   f D i s t     =   2 0 . 0 ;   / /   R a d i u s   i n   m e t e r s 
 
 i n t   i S l o w         =   1 0 0 ;     / /   P e r c e n t a g e   t o   d e c r e a s e   m o v e m e n t   b y 
 
 i n t   i D A t t a c k   =   1 0 0 ;     / /   A m o u n t   t o   d e c r e a s e   a t t a c k   b y 
 
 / /   F u n c t i o n   t o   r e s u m e   c r e a t u r e ( s )   p r e v i o u s   a c t i o n s   w r a p p e d   f o r   D e l a y 
 
 v o i d   R e s u m e L a s t ( o b j e c t   o R e s u m e e ,   o b j e c t   o I n t r u d e r ) 
 
         { 
 
         / /   D e l a y   D e t e r m i n e C o m b a t R o u n d 
 
         D e l a y C o m m a n d ( f D u r + 0 . 2 5 , A s s i g n C o m m a n d ( o R e s u m e e , D e t e r m i n e C o m b a t R o u n d ( o I n t r u d e r ) ) ) ; 
 
         } 
 
 / /   F u n c t i o n   t o   c o n t r o l   T i m e S t o p   e f f e c t s 
 
 v o i d   T S E f f e c t s ( o b j e c t   o E f f e c t o r ,   o b j e c t   o C a s t e r ) 
 
         { 
 
         / /   C h e c k   i f   s t o p p e d   c r e a t u r e   i s   a   h o s t i l e 
 
         i f   ( G e t I s R e a c t i o n T y p e H o s t i l e ( o C a s t e r , o E f f e c t o r )   = =   T R U E )   { 
 
         / /   S t a r t   t h e   r e s u m e   c o m b a t   r o u n d   a f t e r   T i m e s t o p 
 
         R e s u m e L a s t ( o E f f e c t o r ,   o C a s t e r ) ; 
 
         } 
 
         / /   D e c r e a s e   t h e   c r e a t u r e ( s )   a t t a c k 
 
         A p p l y E f f e c t T o O b j e c t ( D U R A T I O N _ T Y P E _ T E M P O R A R Y , E f f e c t A t t a c k D e c r e a s e ( i D A t t a c k , A T T A C K _ B O N U S _ M I S C ) , o E f f e c t o r , f D u r ) ; 
 
         / /   S t o p   t h e   c r e a t u r e ( s )   f r o m   m o v i n g   f o r   f D u r   s e c o n d s 
 
         A p p l y E f f e c t T o O b j e c t ( D U R A T I O N _ T Y P E _ T E M P O R A R Y , E f f e c t M o v e m e n t S p e e d D e c r e a s e ( i S l o w ) , o E f f e c t o r , f D u r ) ; 
 
         / /   M a k e   m o d u l e   d o m i n a t e   t h e   c r e a t u r e ( s )   f o r   f D u r   s e c o n d s 
 
         A s s i g n C o m m a n d ( G e t M o d u l e ( ) , A p p l y E f f e c t T o O b j e c t ( D U R A T I O N _ T Y P E _ T E M P O R A R Y , E f f e c t C u t s c e n e D o m i n a t e d ( ) , o E f f e c t o r , f D u r ) ) ; 
 
         / /   C l e a r   t h e   c r e a t u r e ( s )   a c t i o n   q u e 
 
         A s s i g n C o m m a n d ( o E f f e c t o r , C l e a r A l l A c t i o n s ( T R U E ) ) ; 
 
         / /   D i s a b l e   C o m m a n d a b l e   ( a c t i o n s   q u e ) 
 
         S e t C o m m a n d a b l e ( F A L S E , o E f f e c t o r ) ; 
 
         / /   E n a b l e   C o m m a n d a b l e   a f t e r   f D u r 
 
         D e l a y C o m m a n d ( f D u r , S e t C o m m a n d a b l e ( T R U E , o E f f e c t o r ) ) ; 
 
         } 
 
 / /   F u n c t i o n   t o   g e t   c r e a t u r e ( s )   w i t h i n   r a d i u s   a n d   a p p l y   t h e   a l t e r n a t e   T i m e S t o p 
 
 v o i d   T i m e S t o p ( o b j e c t   o T a r g e t ) 
 
         { 
 
         o b j e c t   o N e a r e s t C ;     / /   D e f i n e   n e a r e s t   c r e a t u r e 
 
         / /   B e g i n   l o o p   t o   f i n d   a l l   c r e a t u r e s   w i t h i n   t h e   f D i s t   m e t e r   r a d i u s 
 
         o N e a r e s t C   =   G e t F i r s t O b j e c t I n S h a p e ( S H A P E _ S P H E R E ,   f D i s t ,   G e t S p e l l T a r g e t L o c a t i o n ( ) ,   F A L S E ,   O B J E C T _ T Y P E _ C R E A T U R E ) ; 
 
         w h i l e ( G e t I s O b j e c t V a l i d ( o N e a r e s t C ) ) 
 
                   { 
 
                   / /   T o   m a k e   s u r e   i t   d o e s n ' t   s t o p   t h e   c a s t e r   o r   c a s t e r ' s   f a m i l i a r 
 
                   s t r i n g   s N C N a m e   =   G e t N a m e ( o N e a r e s t C ) ; 
 
                   i f   ( o N e a r e s t C   ! =   o T a r g e t   & & 
 
                           G e t A n i m a l C o m p a n i o n N a m e ( o T a r g e t )   ! =   s N C N a m e )     { 
 
                         / /   S t a r t   t h e   T i m e S t o p   e f f e c t s 
 
                         D e l a y C o m m a n d ( 0 . 7 5 , T S E f f e c t s ( o N e a r e s t C , o T a r g e t ) ) ; 
 
                         } 
 
                   / /   G e t   t h e   n e x t   c r e a t u r e   i n   t h e   f D i s t   m e t e r   r a d i u s   a n d   c o n t i n u e   l o o p 
 
                   o N e a r e s t C   =   G e t N e x t O b j e c t I n S h a p e ( S H A P E _ S P H E R E ,   f D i s t ,   G e t S p e l l T a r g e t L o c a t i o n ( ) ,   F A L S E ,   O B J E C T _ T Y P E _ C R E A T U R E ) ; 
 
                   } 
 
         } 
 
 / /   B e g i n   M a i n   F u n c t i o n 
 
 v o i d   m a i n ( ) 
 
         { 
 
         / / S i g n a l   e v e n t   t o   s t a r t   t h e   T i m e S t o p 
 
         S i g n a l E v e n t ( O B J E C T _ S E L F ,   E v e n t S p e l l C a s t A t ( O B J E C T _ S E L F ,   S P E L L _ T I M E _ S T O P ,   F A L S E ) ) ; 
 
         / /   B e g i n   c u s t o m   T i m e S t o p 
 
         T i m e S t o p ( O B J E C T _ S E L F ) ; 
 
         A p p l y E f f e c t A t L o c a t i o n ( D U R A T I O N _ T Y P E _ I N S T A N T ,   E f f e c t V i s u a l E f f e c t ( V F X _ F N F _ T I M E _ S T O P ) ,   G e t S p e l l T a r g e t L o c a t i o n ( ) ) ; 
 
         } 