mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 07:30:48 +00:00
[Quest API] Add DoAnim Overloads to Perl/Lua. (#2627)
# Perl - Add `$mob->DoAnim(animation_id, animation_speed, ackreq)`. - Add `$mob->DoAnim(animation_id, animation_speed, ackreq, filter)`. - Add `quest::doanim(animation_id, animation_speed)`. - Add `quest::doanim(animation_id, animation_speed, ackreq)`. - Add `quest::doanim(animation_id, animation_speed, ackreq, filter)`. # Lua - Add `eq.do_anim(animation_id)`. - Add `eq.do_anim(animation_id, animation_speed)`. - Add `eq.do_anim(animation_id, animation_speed, ackreq)`. - Add `eq.do_anim(animation_id, animation_speed, ackreq, filter)`. # Notes - Adds overloads and cleans up spots where `animation_speed` was named `type` erroneously.
This commit is contained in:
1 parent
b1c4e7c23f
commit
1d06a4117a
7 files changed
+74
-21
No files matched your search
+2
-2
@@ -1234,9 +1234,9 @@ void QuestManager::movegrp(int zoneid, float x, float y, float z) {
|
||||
}
|
||||
}
|
||||
|
||||
void QuestManager::doanim(int anim_id) {
|
||||
void QuestManager::doanim(int animation_id, int animation_speed, bool ackreq, eqFilterType filter) {
|
||||
QuestManagerCurrentQuestVars();
|
||||
owner->DoAnim(anim_id);
|
||||
owner->DoAnim(animation_id, animation_speed, ackreq, filter);
|
||||
}
|
||||
|
||||
void QuestManager::addskill(int skill_id, int value) {
|
||||
|
||||
Reference in new issue
Block a user