DarkflameServer/dScripts/ai/AG/AgSalutingNpcs.cpp

12 lines
240 B
C++
Raw Permalink Normal View History

2022-08-06 03:01:59 +00:00
#include "AgSalutingNpcs.h"
#include "GameMessages.h"
2022-07-28 13:39:57 +00:00
void AgSalutingNpcs::OnEmoteReceived(Entity* self, const int32_t emote, Entity* target) {
if (emote != 356) {
return;
}
GameMessages::SendPlayAnimation(self, u"salutePlayer");
}