Closed GoogleCodeExporter closed 8 years ago
This would not be difficult to implement. I will wait to implement this until
after I have added code for Amistr skills. It may not need to be part of the
code-base, but instead an example of the "Condition" state-file option for
skills. That option has not been documented yet, because it is very advanced.
Original comment by faithful...@gmail.com
on 9 Sep 2010 at 7:43
This feature is specific enough that I do not believe it should be implemented
as a part of the base AI. Custom skill conditions that need an enemy count can
implement it simply using the following few lines in the condition function
itself:
local enemy_count = 0
for id,actor in pairs(_G.RAIL.ActorLists.Enemies) do enemy_count = enemy_count
+ 1 end
Original comment by faithful...@gmail.com
on 2 Dec 2010 at 5:54
Original issue reported on code.google.com by
simon.as...@gmail.com
on 9 Jul 2010 at 7:40