Move ai attach to right entity
This commit is contained in:
parent
cda719c9a2
commit
c23cb9870b
@ -620,6 +620,8 @@ public class LoadingThread extends Thread {
|
|||||||
//give evil goblin sword
|
//give evil goblin sword
|
||||||
Entity goblinSword = ItemUtils.spawnBasicItem("Katana");
|
Entity goblinSword = ItemUtils.spawnBasicItem("Katana");
|
||||||
AttachUtils.attachEntityToEntityAtBone(goblin, goblinSword, "Bone.031");
|
AttachUtils.attachEntityToEntityAtBone(goblin, goblinSword, "Bone.031");
|
||||||
|
//attach ai to evil goblin
|
||||||
|
MindlessAttacker.attachToCreature(goblin);
|
||||||
|
|
||||||
// goblin = CreatureUtils.spawnBasicCreature("Goblin");
|
// goblin = CreatureUtils.spawnBasicCreature("Goblin");
|
||||||
// CollisionObjUtils.positionCharacter(goblin, new Vector3f(3, 0, 4));
|
// CollisionObjUtils.positionCharacter(goblin, new Vector3f(3, 0, 4));
|
||||||
@ -632,8 +634,6 @@ public class LoadingThread extends Thread {
|
|||||||
// goblin = CreatureUtils.spawnBasicCreature("Goblin");
|
// goblin = CreatureUtils.spawnBasicCreature("Goblin");
|
||||||
// CollisionObjUtils.positionCharacter(goblin, new Vector3f(3, 0, 3));
|
// CollisionObjUtils.positionCharacter(goblin, new Vector3f(3, 0, 3));
|
||||||
// EntityUtils.getScale(goblin).set(0.005f);
|
// EntityUtils.getScale(goblin).set(0.005f);
|
||||||
// //attach ai to evil goblin
|
|
||||||
// MindlessAttacker.attachToCreature(goblin);
|
|
||||||
|
|
||||||
// UnitUtils.spawnTextGoblin(10, 0, 10);
|
// UnitUtils.spawnTextGoblin(10, 0, 10);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user