Jump to content
  • 0
Sign in to follow this  
Jedzkie

Lua Error on AI

Question

when i try to use /merai (custom AI config) this error pops up.. './AI_sakray/USER_AI/Battle.lua:259: attempt to call a table value'

 

this is the code in line 259:

 

for i,v in Friends do

 

this is the full code:

 

   -- 3. Check if our friends has enemies.	if object == 0 then		for i,v in Friends do			object = GetEnemyOf(v)		end	end

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.