Skip to content
Snippets Groups Projects
Commit 621078ec authored by dg's avatar dg
Browse files

comment

git-svn-id: http://svn.net-core.org/repos/t-engine4@422 51575b47-30f0-44d4-a5cc-537603b46e54
parent 333eaab7
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,8 @@ newAI("move_simple", function(self)
end
end)
-- Find an hostile target
-- this requires the ActorFOV interface, or an interface that provides self.fov.actors*
newAI("target_simple", function(self)
if self.ai_target.actor and not self.ai_target.actor.dead and rng.percent(90) then return true end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment