DarkflameServer/dScripts/ai/AG/AgSalutingNpcs.cpp

11 lines
241 B
C++
Raw Normal View History

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