| Blockland Forums > Modification Help |
| Command Sounds |
| (1/2) > >> |
| Soon To Be:
Just curious what exactly would be the script to make this for example Player 1 types /Blah Then the script will play a sound that /blah triggers which will be heard to all players nearby? What would be the script to make this possible? |
| mntbrrychch:
Try lookking into the default emote_exclamation or whatever it is called? edit: i think it is emote_alarm actually |
| Soon To Be:
--- Quote from: mntbrrychch on July 23, 2011, 08:36:31 AM ---Try lookking into the default emote_exclamation or whatever it is called? edit: i think it is emote_alarm actually --- End quote --- Ive looked at that beside from the whole debris and what not im still very clueless as to where to start? |
| Amade:
--- Code: ---function serverCmdBlah(%client) { if(isObject(%obj = %client.player)) { serverPlay3D(YourSoundDatablock, %obj.getPosition()); } } --- End code --- |
| Soon To Be:
--- Quote from: Amade on July 23, 2011, 02:02:22 PM --- --- Code: ---function serverCmdBlah(%client) { if(isObject(%obj = %client.player)) { serverPlay3D(YourSoundDatablock, %obj.getPosition()); } } --- End code --- --- End quote --- Oh thank youuu! Where do i include the part for the .wav? is it "YourSoundDatablock"? |
| Navigation |
| Message Index |
| Next page |