Blockland Forums > Modification Help

Playing A Sound

Pages: (1/3) > >>

jes00:

Yo, how do you play a sound that does not loop?

Fluff-is-back:

Be more specific? Server-sided, client-sided? To a single client, all clients?

jes00:


--- Quote from: Fluff-is-back on March 20, 2012, 12:34:25 PM ---Be more specific? Server-sided, client-sided? To a single client, all clients?

--- End quote ---
Server sided to a single client.

Fluff-is-back:

I recall it is done like this:

clientObject.play2D(SoundDatablock)

jes00:


--- Quote from: Fluff-is-back on March 20, 2012, 01:01:50 PM ---I recall it is done like this:

clientObject.play2D(SoundDatablock)

--- End quote ---
Can other people hear an items sound when it's equipped?

Pages: (1/3) > >>

Go to full version