Method WorldObject:PlayMusic [-] [+]

The WorldObject plays music to a Player

If no Player provided it will play the music to everyone near. This method does not interrupt previously played music.

See also WorldObject:PlayDistanceSound, WorldObject:PlayDirectSound

Synopsis

WorldObject:PlayMusic( music )

WorldObject:PlayMusic( music, player )

Arguments

number music

Entry of a music.

Valid numbers: integers from 0 to 4,294,967,295.

Player player (nil)

Player to play the music to.

Returns

Nothing.

Generated on 11/04/2018
©2016 - Eluna Lua Engine