SA-MP Forums Archive
So I want to make some AI... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: So I want to make some AI... (/showthread.php?tid=594146)



So I want to make some AI... - Aerotactics - 14.11.2015

Question 1: Is there a way to send an NPC to a point dynamically? Will that NPC avoid objects naturally?
Question 2: Is there a NavMesh sort of setup for NPCs?
Question 3: If an NPC detects a player or another NPC in front of them, can it auto-shoot at the enemy?


Re: So I want to make some AI... - iKarim - 14.11.2015

A: You can send NPC to a postion by SetPlayerPos, It won't avoid objects.
A: I don't think so.
A: Thats impossible, I never saw NPCs firing/shooting players, You can just apply animations which is useless.


Re: So I want to make some AI... - Ritzy2K - 14.11.2015

Quote:
Originally Posted by PawnHunter
Посмотреть сообщение
A: You can send NPC to a postion by SetPlayerPos, It won't avoid objects.
A: I don't think so.
A: Thats impossible, I never saw NPCs firing/shooting players, You can just apply animations which is useless.
yes NPC's can SHOOT PLAYERS! if you never saw em shooting, it doesnt mean they cant.

https://sampforum.blast.hk/showthread.php?tid=358655

Thankyou