R.E.Z. Posted December 30, 2014 Share Posted December 30, 2014 Hello, added a Zombie Model from the Zombie Character Pack and set the Properties up exactly like the Monsters at the Demo "07-AI and Events.map" using the "MonsterAI.lua" script. What else do I have to set up, to make the Zombie attack the Player, approaching a certain distance? My Zombie does not react, only when I do stand infront of it and shoot at it, it reaches after me (one left, one right, allover again) and hurts me. When I do walk away, it stopps. Not fllowing me for example. How Do I make it attack me continously and beeing a death-scaring-danger? Does anyone have a hint for me? That would be awesome C.U. R.E.Z. Quote Leadwerks Standart Edition RTS Creator Link to comment Share on other sites More sharing options...
shadmar Posted December 30, 2014 Share Posted December 30, 2014 They navigate by navmesh, do you have one? 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Crazycarpet Posted December 30, 2014 Share Posted December 30, 2014 Exactly what Shadmar said, the behavior you described generally only happens when you've forgot to generate a navmesh. In the editor go to: Tools -> "Build Nav Mesh" Once you've generated a navmesh the NPCs should behave appropriately. Quote Link to comment Share on other sites More sharing options...
R.E.Z. Posted December 30, 2014 Author Share Posted December 30, 2014 Hello shadmar and Crazycarpet, thank You for Your Help. Now it works Did build the "Nav Mesh". Thank You alot. Have a nice day, C.U. R.E.Z. Quote Leadwerks Standart Edition RTS Creator Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.