mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-15 04:38:21 +00:00
8d37d9b681
* Organize dScripts whitespace Remove parent scope Remove parent scope from initial setter Remove debug Remove helper programs * Fix NtImagimeterVisibility script Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
17 lines
346 B
C++
17 lines
346 B
C++
#include "AgStromlingProperty.h"
|
|
#include "MovementAIComponent.h"
|
|
|
|
void AgStromlingProperty::OnStartup(Entity* self) {
|
|
auto movementInfo = MovementAIInfo{
|
|
"Wander",
|
|
71,
|
|
3,
|
|
100,
|
|
1,
|
|
4
|
|
};
|
|
|
|
auto* movementAIComponent = new MovementAIComponent(self, movementInfo);
|
|
self->AddComponent(COMPONENT_TYPE_MOVEMENT_AI, movementAIComponent);
|
|
}
|