Full Version : Silent mode ;)
xmlspawner >>Scripting Support >>Silent mode ;)


<< Prev | Next >>

Mage-Solitaire- 02-11-2006
Hi all, long time not see
Here's my question today

I've got a place where my player have to answer to a question. But i don't want other player see the answer, and i don't want to use a gump system

Any idea ?

ArteGordon- 02-11-2006
you can use a prompt to do this.

for example

CODE

  from.Prompt = new MyPrompt( this );


where

CODE

public class MyPrompt: Prompt
{
 private MyClass m_source;

 public MyPrompt( MyClass source)
 {
  m_source= source;
 }

 public override void OnResponse( Mobile from, string text )
 {
  // do whatever you want with the text response
 }
}

Mage-Solitaire- 02-11-2006
thanks Arte, but, cause i'm not a dev, and the owner can't do a reboot tonight, it will not work, but thank anyway wink.gif

DrussRob- 02-11-2006
*edited for fear of sounding like people at "other" forums*