Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.66 KB

File metadata and controls

34 lines (21 loc) · 1.66 KB

GitHub Latest Version GitHub Latest Release GitHub All Releases Forge Installs

Sound of Token

FoundryVTT module for playing ambient sounds through tokens.

Assign sounds to Actors and play them via the Token HUD

createAndPlay.mp4

When played a temporary 'AmbientSound' is spawned that follows the Token

amibnetFollow.mp4

Both GMs and players can play these sounds but players will require an active GM to be present.

Player Permissions

Players can create and edit sounds on their tokens if editing is toggled on by the GM by Right-clicking the Token HUD button

Player Permissions

API

SoundOfToken.play(token, description)

  • Plays a sound on the token matching the passed in description
  • token can be a placeable, TokenDocument, Token ID string, or an Actor

SoundOfToken.stop(token, description)

  • Stops playback of a sound matching the passed in description
  • token can be a placeable, TokenDocument, Token ID string, or an Actor