DarkflameServer/dScripts/ai/GF/GfBananaCluster.cpp

13 lines
285 B
C++
Raw Normal View History

2022-08-06 03:01:59 +00:00
#include "GfBananaCluster.h"
#include "Entity.h"
2022-07-28 13:39:57 +00:00
void GfBananaCluster::OnStartup(Entity* self) {
self->AddTimer("startup", 100);
}
2022-07-28 13:39:57 +00:00
void GfBananaCluster::OnTimerDone(Entity* self, std::string timerName) {
if (timerName == "startup") {
self->ScheduleKillAfterUpdate(nullptr);
}
}