mobs start the game at their first patrol point index
This commit is contained in:
@@ -1979,6 +1979,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
|
|
||||||
Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius);
|
Vector3fImmutable newPatrolPoint = Vector3fImmutable.getRandomPointInCircle(this.getBindLoc(), patrolRadius);
|
||||||
this.patrolPoints.add(newPatrolPoint);
|
this.patrolPoints.add(newPatrolPoint);
|
||||||
|
if(i == 1)
|
||||||
|
MovementManager.translocate(this,newPatrolPoint,null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.BehaviourType == null)
|
if (this.BehaviourType == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user