Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / dark ai, entity question

Author
Message
WarGoat
15
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 2nd Feb 2007 22:56
Hi, how can we make an entity stop to go to a position when he get near of his objective?


Windows XP,pentium IV, 3.0 MGZ, 1024 mb memory, 256 mb ATI Radeon PCIE X700 Pro 'sett squadron back on the assault'
WarGoat
15
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 3rd Feb 2007 05:58
ignore the question, I got another question. I made a code, that the enemy can see the player, follow him, and attack, but when the enemy is near the play, it doesen't stop moving, what should I do?

Here is the Code:




Windows XP,pentium IV, 3.0 MGZ, 1024 mb memory, 256 mb ATI Radeon PCIE X700 Pro 'sett squadron back on the assault'
Alfred
13
Years of Service
User Offline
Joined: 22nd Jun 2006
Location: Jalisco, Mexico
Posted: 5th Feb 2007 20:07 Edited at: 5th Feb 2007 20:07
Just change:


to:



Apparently your entity enters an avoid - attack loop and jitters in between.

Hallowed are the ori.
WarGoat
15
Years of Service
User Offline
Joined: 19th Sep 2004
Location: Montreal
Posted: 6th Feb 2007 01:03
thanks it worker fine it's just that now, he got two problem, exemple, when I try to change the attack distance value to 15, he start to shake as if he had the parkinson, then, the AI is too much intelligent , it does not stop to move from left to right, and the enemy can never finish his attack animation, because he is always moving, what should I do?


Windows XP,pentium IV, 3.0 MGZ, 1024 mb memory, 256 mb ATI Radeon PCIE X700 Pro 'sett squadron back on the assault'

Login to post a reply

Server time is: 2019-10-14 01:56:50
Your offset time is: 2019-10-14 01:56:50