Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to: script Artificial Intelligence
#38
(05-07-2013, 03:03 PM)YinYin Wrote:  
(05-07-2013, 02:54 PM)A-MAN Wrote:  I don't think a class parent that checks the target's itr injury value is implemented. I don't want to be nosy, but I wouldn't advice being that specific with your AI's. Imagine a scenario where your opponent is about to hit you with a super deadly combo with 10 hits. Each hit causes 30 damage (which means your character won't do the dodging move D: ), and thus 300 of your hp. Checking all that would just be a waste of time.
Actually you can - but I agree that this isn't the best approach.

I'm making this pretty confusing: moved the post to a new topic just before you guys replied.

I will add the first part of the code in that new topic..

Also, the character should only dodge sometimes, not always.. that is the main reason for choosing a higher injury. If there are other ways, I'm fine with that too.
Original character edits
Goku2021
LF2 Timelapse (open source mod)

Reply
Thanks given by:


Messages In This Thread
RE: How to: script Artificial Intelligence - by Memento - 05-07-2013, 03:07 PM



Users browsing this thread: 4 Guest(s)