Easy Request.

I understand how much requests are despised/ignored but I’ve needed this for a long, long time.

Can someone make a stool that when shot at an npc they begin searching and looking around for other NPC’s to kill. possibly opening doors and/or climbing ladders while they do so instead of standing there like complete idiots. I understand this might be difficult, so If you can just make some means of being only rebels and combine solders that can do it and not as a tool that’d be just fine. Thank You.


(User was banned for this post ("Undescriptive thread title" - mahalis))

:confused:

Something that makes npcs move around instead of just standing.

So you want someone to make a stool that gives a npc a perfect AI.


(User was banned for this post ("This isn't helpful" - mahalis))

Ohohoho, no, this is not an easy request. You’re basically telling an NPC to search for people without use of info_nodes.

:colbert:

Why say it’s an easy request when you have no idea of the complexity?

On topic: maybe you’ll get this if/when gmod moves to the l4d engine, which isn’t going to happen any time soon/at all.

… You do realize that the GMod engine and the L4D engine are the exact same thing right? They’re both run on the Source engine. Both are Valve games.

Don’t correct someone else when they were right and you are wrong. Whilst they do both use the source engine, they both run on different versions of the engine which both have quite a few differences from each other.

This isn’t as complicated as people seem to think it is.

Basic process:

Create a new schedule ( **[Ai schedule.New

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Ai schedule.New)** )
Create a table of all valid targets near the npc ( FindInSphere, IsNPC or IsPlayer, Alive, ~= itself )
Set the enemy of the npc to a random entity from the table ( **[NPC.SetEnemy

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=NPC.SetEnemy)** )
Add these tasks to the schedule
TASK_GET_PATH_TO_ENEMY
TASK_RUN_PATH_WITHIN_DISTANCE, 64
TASK_FACE_ENEMY, 1
TASK_RANGE_ATTACK1

Then set the npc’s schedule ( **[NPC.StartSchedule

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=NPC.StartSchedule)** )

That’s probably not EXACTLY it, but you get the idea from that.

I never said anything about the versions, all I said that they used the same engine.
Don’t troll when you can’t read, imo.

But in all seriousness - Kogitsune’s post will help ya.

Did you mean to say:

Wasn’t L4D a Turtle Rock game (or from a company named something like that) and Garry’s Mod is based on a Valve game but other then that it isn’t theirs