|
||
|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Summary:
This is a Modified BaseVendor.cs that will allow all your vendor's to say random things when a player bumps into them....I set it for 15 second speech delay to reduce spam...Just a little idea to add life to a shard =] Description: ***Can edit what they say*** Code:
string[] kfcsay = new string[]
{
"Come see my stuff!!!",
"Best prices in the lands!!!",
etc...etc...etc...
Code:
public override void OnMovement( Mobile m, Point3D oldLocation )
{
if( m_Talked == false )
{
if ( m.InRange( this, 1 ) )
Code:
private class SpamTimer : Timer
{
public SpamTimer() : base( TimeSpan.FromSeconds( 15 ) )
Just replace the distro BaseVendor.cs with one attached...Enjoy!!! |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|