i have,
Play_Music(D as * )
set category = "Misc"
world << "[D] is played by [src]." ?
* - i don't know what goes here. ihave tried, MID, MIDI, MIZ, WAV. But none work.
? - i don't know wheter this statement would be correct.
If anyone knows how to help me please reply.
ID:261779
![]() Jun 15 2003, 4:46 am
|
|
Foomer wrote:
<code>mob/verb/PlayMusic(S as sound) > set category = "Misc" > world << "[S] is played by [src]." > world << sound(S)</code> Wouldn't usr be more appropriate than src here? --Lee |
Mellifluous wrote:
Foomer wrote: No, it makes absolutely no difference in this situation. (Unless for some reason you feel the need to have a command that calls PlayMusic for another player.) Personally, I try to use src in every possible situation where usr isn't required, since usr is really only for special situations, where src should be the general purpose way to refer to the object at hand. |
Foomer wrote:
No, it makes absolutely no difference in this situation. (Unless for some reason you feel the need to have a command that calls PlayMusic for another player.) Okies :) |
<code>mob/verb/PlayMusic(S as sound) set category = "Misc" world << "[S] is played by [src]." world << sound(S)</code>