• Zombie like AI
    6 replies, posted
So i am using the Starship Trooper Bugs NPCs, and they aren't really hostile enough for what i need them for. They usually just stand in a general area and only attack if you get too close. Is there a way to make them like zombies so that they are constantly roaming and looking for people to kill? Thanks! :downs:
[url]http://wiki.garrysmod.com/page/NextBot_NPC_Creation[/url] NextBot example code has a simple AI pretty similar to what you're asking for. If it has a target it'll chase it, if it doesn't it'll wander around aimlessly.
[QUOTE=Crayz;47889396][url]http://wiki.garrysmod.com/page/NextBot_NPC_Creation[/url] NextBot example code has a simple AI pretty similar to what you're asking for. If it has a target it'll chase it, if it doesn't it'll wander around aimlessly.[/QUOTE] Thank you so much! This will help me out a bunch!
[QUOTE=ejcole7;47889835]Thank you so much! This will help me out a bunch![/QUOTE] You're welcome :)
My base does what you are saying.
[QUOTE=vrej;47891495]My base does what you are saying.[/QUOTE] Yes, i use a lot of your addons. Its a really good base. Now the question is, can i transfer my npcs over to your base?
[QUOTE=ejcole7;47911725]Yes, i use a lot of your addons. Its a really good base. Now the question is, can i transfer my npcs over to your base?[/QUOTE] Very easily. I don't have a tutorial on making an SNPC with my base, I will make one soon. But if u know enough coding, it should be very simple.
Sorry, you need to Log In to post a reply to this thread.