Jump to content

Predator Prey in 0AD


Recommended Posts

hi, I was wondering how it could be possible if I can make predators hunt other animals, in the scenario editor when I place down a predator and a prey animal, the predator does not attack and kill the prey animal,

 

any way I can accomplish predator prey interaction?

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
1 minute ago, lukamas said:

ok, but where in the code would it reference something like that, I am not a coder so I am not sure, I only do XML actors, etc. I know some Javascript, I just do not know where in the code to put something like this.

Would be unitAI, but you'd also have to add a new player ^^" or make some units be able to attack their own player.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...