MarciXs
Sorceror
Uhm I dunno since when it has been added but, PlayerMobile.cs
inside CanSee method there's
public override bool CanSee( Mobile m )
{
if ( m is CharacterStatue )
((CharacterStatue) m).OnRequestedAnimation( this );
if ( m is PlayerMobile && ((PlayerMobile)m).m_VisList.Contains( this ) )
return true;
the fact that you've used m_VisList and not the property makes me wonder, didn't you mean
if ( this.m_VisList.Contains( m ) )
In a sense it would also be more logical. Cause we are testing if we can see a Mobile. Therefore, if the mobile is PlayerMobile, which, say would be true, we would see it if it was in our visibility list.
That makes more sense than, if it is a mobile and if the mobile we are trying to see has us in their visibility list. We only then see them.. Is that how it is supposed to be?
Or I've misunderstood what the VisibilityList is used for? For what I understand it is a list where a mobile can have PlayerMobiles added that they would see. O
inside CanSee method there's
public override bool CanSee( Mobile m )
{
if ( m is CharacterStatue )
((CharacterStatue) m).OnRequestedAnimation( this );
if ( m is PlayerMobile && ((PlayerMobile)m).m_VisList.Contains( this ) )
return true;
the fact that you've used m_VisList and not the property makes me wonder, didn't you mean
if ( this.m_VisList.Contains( m ) )
In a sense it would also be more logical. Cause we are testing if we can see a Mobile. Therefore, if the mobile is PlayerMobile, which, say would be true, we would see it if it was in our visibility list.
That makes more sense than, if it is a mobile and if the mobile we are trying to see has us in their visibility list. We only then see them.. Is that how it is supposed to be?
Or I've misunderstood what the VisibilityList is used for? For what I understand it is a list where a mobile can have PlayerMobiles added that they would see. O