View Single Post
Old 05-31-2004, 04:33 PM   #17 (permalink)
jaynigs
Forum Expert
 
jaynigs's Avatar
 
Join Date: Mar 2003
Location: England
Age: 35
Posts: 986
Default

Code:
 
public override void OnThink()
{            

                   foreach ( Mobile n in this.GetMobilesInRange( 5 ) )
                           {  
                                 if ( n is PlayerMobile && n.AccessLevel==AccessLevel.Player )
                                 {
                                      n.Hidden = false;
                                 }
                           }

                   if ( !m_HasTeleportedAway && Hits < (HitsMax / 2) && Poisoned == false )

add the code in bold to the orc scout for him to reveal hidden players.
jaynigs is offline   Reply With Quote