Показать сообщение отдельно
Старый 14.05.2010, 14:23   #1
newsbot
News Bot
 
Аватар для newsbot
 
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
newsbot На верном пути
По умолчанию [9891] Implement *_scripts for creature_movement

<pre>m sql/mangos.sql
+ sql/updates/9891_01_mangos_creature_movement.sql
+ sql/updates/9891_02_mangos_creature_movement_scripts.sql
m sql/updates/Makefile.am
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/game/WaypointManager.cpp
m src/game/WaypointManager.h
m src/game/WaypointMovementGenerator.cpp
m src/game/World.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h

[9891] Implement *_scripts for creature_movement

New field script_id in creature_movement can be filled for each waypoint point and run the corresponding script from creature_movement_scripts.
Script_id can be any value and several points/creatures can share the same script (with limits of course, such as script depending on location and other factors).

DB projects are advised to move current text, spells and emotes data in creature_movement fields as these fields are strictly no longer needed and may be fully removed in the future.

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



Дальше...
newsbot вне форума   Ответить с цитированием