Garry's Mod

Garry's Mod

154 ratings
Stuck NPC Fixer
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Build, Fun, Realism
File Size
Posted
5.390 KB
14 Apr @ 12:20am
1 Change Note ( view )

Subscribe to download
Stuck NPC Fixer

Description
An addon that will deal with NPCs getting stuck. It uses a smart teleportation system to ensure that NPCs can be detected as "stuck", and then be teleported to a location that has been designated "safe" (This will ensure that NPCs aren't teleported into the collisions of another NPC or prop!)


COOL FEATURES!!!


It's customizable! You can blacklist certain NPCs that you may not want being teleported around; you can change the timer for how often it checks; you can change the teleportation radius; you can change the detection radius around the NPCs.

To change settings, open spawn menu and go to utilities tab -- User -- Stuck Npc Fixer


This script was entirely written by ChatGPT. I myself have no coding knowledge at all.
24 Comments
ernestke1 5 Oct @ 8:19am 
we've got ai slop gmod addons before gta 6
Jboy9786 11 Sep @ 2:01am 
how about NPCs stuck in map geometry, like say NPC spawners that were designed for completely flat area making NPCs fall through the map or their feet stuck in the ground ?
Male_09 28 Aug @ 5:48pm 
"This script was entirely written by ChatGPT."
sad
dalek 21 Jul @ 7:09am 
would you consider adding support for vj npcs because there are some that I keep getting stuck in. It would really be appreciated. but otherwise this is a great mod! good job! :)
Gorigo 23 Jun @ 7:08am 
*enchanted combine soldiers* specifically dodge option where they endup being inside walls
Gorigo 23 Jun @ 7:07am 
good addon, helps with addons like super combines
does this also TP follow NPC? where it cannot reach the players position, like above and below
giorgibob152 14 May @ 12:10pm 
this makes some of the vehicles have their turrets move from side to side
PROMENADE 25 Apr @ 10:03pm 
thanks bro
DrVrej 25 Apr @ 9:17pm 
From the reports I got, people just wanted it disabled for tank NPCs in general, you could add a check to blacklist tanks by default, they are identified by "IsVJBaseSNPC_Tank"