*Update movement enums - thanks to Zor for info.

*Add functions for position data streaming.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-08-04 14:39:45 +02:00
parent 850868c8a3
commit 6353e7dd8c
60 changed files with 428 additions and 366 deletions
@@ -481,7 +481,7 @@ struct mob_amanishi_hatcherAI : public ScriptedAI
void Reset()
{
me->AddUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
me->AddUnitMovementFlag(MOVEMENTFLAG_WALKING);
side =(me->GetPositionY() < 1150);
waypoint = 0;
isHatching = false;
@@ -127,7 +127,7 @@ struct boss_nalorakkAI : public ScriptedAI
inMove = false;
waitTimer = 0;
me->SetSpeed(MOVE_RUN,2);
me->RemoveUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
me->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING);
}else
{
(*me).GetMotionMaster()->MovePoint(0,NalorakkWay[7][0],NalorakkWay[7][1],NalorakkWay[7][2]);