[c12559] DBScripts - Add Map/Zone wide sound support to COMMAND_PLAY_SOUND

This commit is contained in:
Xfurry 2013-05-31 09:19:13 +01:00 committed by Antz
parent d275d04145
commit 7fec4dacae
4 changed files with 346 additions and 219 deletions

View file

@ -206,7 +206,8 @@ Where "A -> B" means that the command is executed from A with B as target.
16 SCRIPT_COMMAND_PLAY_SOUND source = any object, target=any/player
* datalong = sound_id
* datalong2 (bitmask: 0/1=anyone/target, 0/2=with distance dependent, so 1|2 = 3 is target with distance dependent)
* datalong2 (bitmask: 0/1=target-player, 0/2=with distance dependent, 0/4=map wide, 0/8=zone wide;
so 1|2 = 3 is target with distance dependent)
17 SCRIPT_COMMAND_CREATE_ITEM source or target must be player
* datalong = item entry