YTDB

YTDB (http://ytdb.ru/index.php)
-   CMaNGOS Commits (http://ytdb.ru/forumdisplay.php?f=27)
-   -   [9889] Extend features available for SCRIPT_COMMAND_TALK (http://ytdb.ru/showthread.php?t=5800)

newsbot 13.05.2010 18:40

[9889] Extend features available for SCRIPT_COMMAND_TALK
 
<pre>m src/game/Map.cpp
m src/game/ObjectMgr.cpp
m src/game/World.h
m src/shared/revision_nr.h

[9889] Extend features available for SCRIPT_COMMAND_TALK

* Allow other than Creature to talk.
* Add "buddy-talk", using creature entry in datalong2 (the npc who will do the talk instead of the original source). Value in datalong3 is how far to look for the buddy.
* Add data_flags making it possible to have conversations between units, controlling who does the talking and to whom, including make player do the talking when player is not already the source.

Notes and details are added in the comments for SCRIPT_COMMAND_TALK

Signed-off-by: NoFantasy <nofantasy@nf.no></pre>



Дальше...

timmit 13.05.2010 18:59

Хорошая вещь, есть много квестов, где в начале или в конце болтают два три нпс между собой или с игроком, а так же, где после сдачи одного - тебе в приват пишет нпс другой рядошний


Текущее время: 19:45. Часовой пояс GMT +4.

YTDB - MaNGOS DataBase