newsbot
31.07.2010, 20:01
<pre>m sql/mangos.sql
+ sql/updates/10299_01_mangos_event_id_scripts.sql
m sql/updates/Makefile.am
m src/bindings/universal/ScriptMgr.cpp
m src/bindings/universal/ScriptMgr.h
m src/game/GameObject.cpp
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/game/ScriptCalls.cpp
m src/game/ScriptCalls.h
m src/game/SpellEffects.cpp
m src/game/Transports.cpp
m src/game/WaypointMovementGenerator.cpp
m src/game/World.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h
[10299] Add new script call ProcessEventId
Let script library know when some event is about to start. Event id's may be
found in several sources, such as spells, GO's and transport/taxi paths.
Database scripts may be prevented by returning true from script side whenever
needed. If false, DB script will run like normal.
New database table event_id_scripts will need a ScriptName for the event id, in
same way as for example areatrigger_scripts.
Signed-off-by: NoFantasy <nofantasy@nf.no></pre>
Дальше... (http://github.com/mangos/mangos/commit/b0ec7e16b0900710f756b26e6f61d43036345ff4)
+ sql/updates/10299_01_mangos_event_id_scripts.sql
m sql/updates/Makefile.am
m src/bindings/universal/ScriptMgr.cpp
m src/bindings/universal/ScriptMgr.h
m src/game/GameObject.cpp
m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/game/ScriptCalls.cpp
m src/game/ScriptCalls.h
m src/game/SpellEffects.cpp
m src/game/Transports.cpp
m src/game/WaypointMovementGenerator.cpp
m src/game/World.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h
[10299] Add new script call ProcessEventId
Let script library know when some event is about to start. Event id's may be
found in several sources, such as spells, GO's and transport/taxi paths.
Database scripts may be prevented by returning true from script side whenever
needed. If false, DB script will run like normal.
New database table event_id_scripts will need a ScriptName for the event id, in
same way as for example areatrigger_scripts.
Signed-off-by: NoFantasy <nofantasy@nf.no></pre>
Дальше... (http://github.com/mangos/mangos/commit/b0ec7e16b0900710f756b26e6f61d43036345ff4)