Search the Community
Showing results for tags 'Enemy'.
Found 3 results
So, today I finally got an animated model in leadwerks. It looks good and the animations play without a problem. So I thought, "I'll just put the MonsterAI.lua script on him and see what happens". Well what happens is that he does the Idle animation on an infinite loop. And I for the life of me cannot figure out how to fix this. Yes, I've extracted the animations and everything, it's just that I can't wrap my head around this. Any help would be greatly appreciated! Both monsters in this video have the same script unchanged. I also remember that the Monster AI script needs to have the animation names set in correctly, but I have no clue how to see if they're right or not, I just named the model's animations exactly like the "Crawler" animations and hoped for the best.
How would you get a tower to get the next enemy in the scene ? I have already done the aligning to a target thats manually put in. I have a pivot thats attached to a prefab of the crawler. This pivot is the target , and when the crawler spawns the turret should know if a pivot is in range and align to it.