Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to: script Artificial Intelligence
#42
I'm not quite up-to-date with the latest AI-stuff but this one caught my attention:

self.x.target.x

self.x should be a scalar value. That's at least what the error-message implies: it should be a "const"(ant) "int"(eger). Looking for a child-object "target" seems a little off in such case :p
Guess you mean something like self.x-target.x?
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:


Messages In This Thread
RE: How to: script Artificial Intelligence - by Silverthorn - 06-26-2013, 08:59 PM



Users browsing this thread: 4 Guest(s)