|
| 06 Jan 2014 03:20 PM |
Doesn't attack other NPCs?
hi |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2014 03:22 PM |
Just a free model, so I can take the script for it and transfer it.
hi |
|
|
| Report Abuse |
|
|
| |
|
drew8732
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 1965 |
|
|
| 06 Jan 2014 08:30 PM |
You can do this on your own pretty easily. It's going to take some editting though.
Most NPC's track their enemies by scanning for Humanoid objects in models. Players have Humanoids, but so do other NPC's. So this means that you're going to have to rename the Humanoid object within the NPC. (Robot, Enemy, Zombie, etc.)
Doing this will make NPC's no longer scan each other as enemies, although the scripts inside them may break due to this name-change, as most scripts have to identify the Humanoid object inside them. So you'll have to edit their scripts in such a way that it still looks for HUMANOIDS when scanning for enemies, but use their own Humanoid name when dealing with operations like health, movement, etc.
If you're having trouble, Scripting Helpers will help you out. |
|
|
| Report Abuse |
|
|
| |
|
101PILOT
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 960 |
|
|
| 06 Jan 2014 08:39 PM |
I have used this ai. they will not attack each other AND it will go AROUND walls to get to you. I have found that it can and will go the long rout sometimes.
http://www.roblox.com/Naruto-Zombie-item?id=87293568 |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Jan 2014 08:45 AM |
@101, but they still attack other NPCs.
hi |
|
|
| Report Abuse |
|
|
|
| 07 Jan 2014 08:48 AM |
| normally the enemy NPCs search for torso,head,legs and hands if you change the other NPCs part to other names then it may work im not sure havent tried it.Peace |
|
|
| Report Abuse |
|
|