Is there a way to disable Telekinesis in a script for a container. My script is :BaseContainer. I have a birthday box that players can drop stuff in to but can't open except Telekinesis. I want to disable Telekinesis.
I tried the following with no results.
public virtual void OnTelekinesis( Mobile from )
{
return;
}
Thanks again.
that method is only called for containers that support the ITelekinesisable interface.
Just add that to your class definition
public class YourContainer : BaseContainer, ITelekinesisable
and then it will call the OnTelekinesis method that you added when they try to use telekinesis on it.