mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-21 22:24:21 +00:00
feat: hatchlings (#2008)
tested that hatchlings now function fixes #759 Update MovementAIComponent.cpp Update MovementAIComponent.cpp Update HatchlingPets.cpp
This commit is contained in:
14
dScripts/02_server/Objects/Hatchlings/HatchlingPets.h
Normal file
14
dScripts/02_server/Objects/Hatchlings/HatchlingPets.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef HATCHLINGPETS_H
|
||||
#define HATCHLINGPETS_H
|
||||
|
||||
#include "CppScripts.h"
|
||||
#include "NiPoint3.h"
|
||||
|
||||
class HatchlingPets : public CppScripts::Script {
|
||||
void OnStartup(Entity* self) override;
|
||||
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status) override;
|
||||
void OnTimerDone(Entity* self, std::string timerName) override;
|
||||
void Wander(Entity& self, Entity& player);
|
||||
};
|
||||
|
||||
#endif //!HATCHLINGPETS_H
|
||||
Reference in New Issue
Block a user