Skip to content

Commit de26ba7

Browse files
committed
Update playSoundFronEnd OOP syntax
1 parent efbc864 commit de26ba7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

functions/Audio/playSoundFrontEnd.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ shared: &shared
77
content: These sounds don't work when [[fadeCamera]] has been used to make the screen black.
88
description: This function plays a frontend sound for the specified player.
99
oop:
10-
element: player
11-
method: playSoundFrontEnd
12-
note: For client-side use Sound.playFrontEnd()
10+
- element: player
11+
method: playSoundFrontEnd
12+
side: server
13+
- element: sound
14+
method: playFrontEnd
15+
static: true
16+
side: client
1317
parameters:
1418
- name: thePlayer
1519
type: player

0 commit comments

Comments
 (0)