Author Topic: Extended playSound Events  (Read 5192 times)

More playSound Events
Play sounds to players, clients, or minigames.

Description
A quick Add-On that lets you play sounds to a player (3d around them), a client (so only they hear it) or all clients in a minigame.

Player->playSound [Sound Datablock]
Client->playSound [Sound Datablock]
Minigame->playSound [Sound Datablock]

Download
SpaceMods Home Page
Download Page
Direct Link
View on RTB Download Manager
« Last Edit: March 08, 2009, 07:19:13 AM by Space Guy »

This will be very useful, thank you.

Nice!
Very usefull for RPG and stuf

Now I can set a delay to the play sound on my player and chase people till it goes off. :cookieMonster:

Great! Now all we need is extended play music events :cookieMonster:



I love this game. :'D

Minigame->playSound [Sound Datablock]
I was about to request that today


Client->playSound [Sound Datablock]
I requested that before. I'm not implying that you did it for me.
Also, this is very useful.

I love you ;)

Is there a way for you to do bots too?

Portal cores :3

[0] onBotTouch -> Self -> cancelEvents
[400] onBotTouch -> Bot -> playSound ["Help!"]

Bots are player objects. This should play whatever sound you want when the bot stops touching the brick you put it on i.e. when it's blown off the structure.

Or like this:
(0) onBotTouch -> Bot -> playSound ["sound"]
(0) onBotTouch -> Self -> toggleEventEnabled -> 0 1 2
(4000) onBotTouch -> Self -> toggleEventEnabled -> 0 1 2
Replace the bolded four with any number. Leaving it with four will make the sound play every four seconds.

The 'cores' in Portal only make sounds when moved away from where they normally are, or picked up - that would make them play sounds while attached to GLaDOS instead.