I'm starting out attempting to create a turret addon for 1.9 using the new scripting. So far I just have the resource and behaviour mostly working but I have an issue with the turret moving towards the monster mob when they come within range.
I thought the movement component being set to zero would do it, but there seems to be a part of "nearest_attackable_target" which suggests it detects and moves towards...
Can anyone suggest whats needed to stop the turret from moving around?
0
Hi
I'm starting out attempting to create a turret addon for 1.9 using the new scripting. So far I just have the resource and behaviour mostly working but I have an issue with the turret moving towards the monster mob when they come within range.
I started with a shulker, the code looks like;
I thought the movement component being set to zero would do it, but there seems to be a part of "nearest_attackable_target" which suggests it detects and moves towards...
Can anyone suggest whats needed to stop the turret from moving around?
Cheers