Jump to content

NPC use rocket launcher as combat, not raid

Closed 2.6.5

Hi KpucTaJl, is it possible to make NPC shoot rocket launcher as a combat and not a raid? I'm trying to make NPC behave like this for Heli guards but they only shoot rocket if player is hiding inside building they own. NPC will not shoot if player is hiding in monument like supermarket or gas station. If we can have this option, it would be great! I tried modifying the code but it didn't work for me. Also, what does "RaidStateMelee" means?

Share this comment


Link to comment

The melee raid state is going to be for NPCs without weapons and is used mostly in DefendableBases to my recollection but I can get more information if there is a reason you are asking. In that plugin the NPCs will rush the base and attack the doors that you can put up in the base as defenses with their melee weapons.

Edited by Jbird

Share this comment


Link to comment

By the way @abcderanzi did you consider instead giving the NPCs grenade launchers instead? They will use these I think the way that you want them to. They will use these for normal attacks. This is the developers suggestion as well.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.4k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.