I creating NPC SCP-049(NextBot), but Citizens and others npc from category 'Humans and Resistance' not see my npc as enemy! code from NextBot NPC Creation .
Nextbots are not NPC's.
If you want NPC's to see an entity as an enemy, you need to call NPC:SetEnemy( Entity enemy, boolean newenemy=true ) but it also require a few other tweaks.
Here is the old thread: Why npcs don't attack nextbots...
thanks, i try to add NPC:SetTarget to Tick, for add my nextbot's as Enemy
Do NOT set the target each Tick. Only set the target when needed.
Hey there it's [BoZ]Niko663, the creator of the SCP-049 Nextbot, aplogogies that NPC's wouldn't target 049 and vice versa, but I've released an update today that fixes it, SCP-049 now chases NPCs and NPCs will return fire, there's no need to edit anything now, Good Day.
Sorry, you need to Log In to post a reply to this thread.