I've seen .lua scripting, such as GMod 12's Jackarunda's Op Squads addon, that caused the Hunter-Chopper to pursue the player, drop bombs, and even use missiles, albeit with extensive scripting. However, that mod's no longer functioning, and now I'm trying to use the method of Inputs, ent_fire commands, and Keyvalues. However, nothing I've done so far has caused the Helicopter to pursue me or drop bombs on its own. Using an NPC tools addon, I've messed around with its Keyvalues and spawnflags, and have also used Input ent-based commands in console, but nothing seems to have any effect on its movement. I've tested it on several maps with full air nodes, but the only maps it moves on is gm_construct, in which it flies around the skybox. So is there any actual way to make a Helicopter NPC chase you now?
There are lots of NPC functions you can find here: [url]http://wiki.garrysmod.com/page/Category:NPC[/url]
What you might be looking for is:
[url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index02cf-2.html]NPC:SetTarget( ent )[/url]
[url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index3540.html]NPC:NavSetGoal( Vector )[/url] and
[url=http://wiki.garrysmod.com/page/NPC/NavSetGoalTarget]NPC:NavSetGoalTarget( ent, vector offset)[/url]
Sorry, you need to Log In to post a reply to this thread.