YTDB

YTDB (http://ytdb.ru/index.php)
-   CMaNGOS Commits (http://ytdb.ru/forumdisplay.php?f=27)
-   -   [9891] Implement *_scripts for creature_movement (http://ytdb.ru/showthread.php?t=5809)

newsbot 14.05.2010 14:23

[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>



Дальше...


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

YTDB - MaNGOS DataBase