RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

According to the conditions see creatures

ft2085267

Sorceror
I want players to meet the conditions in order to see another player (this is not a stealth and hide), I read a "RunUO/Server/Item.cs" and "RunUO/Server/Mobile.cs", there SendInfoTo Item found ways to achieve this goal. But Mobile.cs not found, you can help me?

Thank you very much
I'm sorry,My English is not very good:(

Here is an example of an item:

public override void SendInfoTo( NetState state, bool sendOplPacket )
{
Mobile mob = state.Mobile;
if ( mob != null)
{
if ( mob.Name == this.oName )
{
base.SendInfoTo(state, sendOplPacket);
}
}
}
 
Top