68 if (unit->movespline->Finalized())
80 float dest = 4.0f * (float)
rand_norm() - 2.0f;
84 unit->MovePositionToFirstCollision(pos, dest, 0.0f);
87 path.SetPathLengthLimit(30.0f);
96 init.MovebyPath(path.GetPath());
Definition: PathGenerator.h:47
float m_positionY
Definition: Position.h:53
float m_positionX
Definition: Position.h:52
float i_x
Definition: ConfusedMovementGenerator.h:39
void Reset(time_t interval)
Definition: Timer.h:119
void Relocate(float x, float y)
Definition: Position.h:67
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
void Update(time_t diff)
Definition: Timer.h:109
Definition: PathGenerator.h:52
float m_positionZ
Definition: Position.h:54
double rand_norm()
Definition: Random.cpp:69
Definition: Position.h:27
bool Passed() const
Definition: Timer.h:114
float i_z
Definition: ConfusedMovementGenerator.h:39
TimeTracker i_nextMoveTime
Definition: ConfusedMovementGenerator.h:38
Definition: MoveSplineInit.h:52
float i_y
Definition: ConfusedMovementGenerator.h:39