EmitSound

Plays a sound from an NPC

    Note

  • Uses names from ai_activities.p3s
  • Plays on the Voice channel

Syntax

EmitSound [name]

Example


// (from Catharsis Reborn)
pt_sit
{
    actions
    {
        // Do a purring sound
        EmitSound cat_purr
        Sequence seq.idle_sit,9000
        Wait 10:30
        ResetSequence 1
        State st_start
    }
}