How do I make enemies have specific targets?

From OHRRPGCE-Wiki
Jump to: navigation, search

You currently don't. But, you can actually fake it!

Step by step[edit]

It is actually very easy to make enemies to target only one of their specific allies, if this is what you are looking for.

  • Make an attack made for that custom enemy that needs to target a specific ally of his
  • Take a look in this attack's bitsets. Now, let's say that you want it to target an ally he has that is in slot Number 1
  • Check all the bitsets that say 'Cannot target enemy slot X', except the one that has Number 1 in it. That will make the enemy to be able to only use this attack in that specific slot, where the aimed ally is.
  • Give any special properties to this attack that you want.