Note: This PRAction documentation is out-dated and is for an older (pre-GMS v2.3) version of PRAction. For the most up-to-date docs on the latest version of PRAction, please refer to this page as well as the documentation included in the PRAction package.

Documentation Topics
Function

PRActionPlaySound()

Creates an action object of type PRActionTypePlaySound. When this action is played by an object, the sound identified by the given id soundId will start playing.


Declaration

PRActionPlaySound(soundId, priority, loops)

Parameters

soundId

The sound that will play.

priority

The channel priority of the sound.

loops

Boolean value indicating if the sound should loop or not.

Return Value

The created action object.