sound

lima-1.0b5/lib/help/wizard/coding/rooms/sound · 350 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

Adding Sound to your rooms.

  Add something like the following piece of code to your room, outside of your
setup().  This will get called by the parser.


int sound ()
{
  write ("This is an example sound.  Only you are getting this msg, so "
	 "I guess you're \nhearing voices.\n");
  return 1; // Let the parser know the listen was successfull
}

Site Stats

Snippets: 1791
Codebases: 571