NPC bug
#6

I haven't really worked with AI NPC's a lot either.

This is from ToiletDuck:

Use RayCastLine x y z , targetx, tagerty,targetz when it returns to true then it means there is a wall between of it or there is IsPlayerBlock function use that.

x y z > GetPlayerPos(playerid) then Targetx,y,z = GetPlayerPos(targetid)

I hope you understand. or use 3dtryg of abyss use IsElementBetweenwall I forgot what is that function again lol
Reply


Messages In This Thread
NPC bug - by NealPeteros - 24.12.2017, 07:52
Re: NPC bug - by Ritzy2K - 24.12.2017, 08:10
Re: NPC bug - by NealPeteros - 24.12.2017, 08:12
Re: NPC bug - by Ritzy2K - 24.12.2017, 08:18
Re: NPC bug - by NealPeteros - 24.12.2017, 08:23
Re: NPC bug - by Ritzy2K - 24.12.2017, 08:42
Re: NPC bug - by NealPeteros - 24.12.2017, 09:01

Forum Jump:


Users browsing this thread: 1 Guest(s)