Flagging enemies as a certain type

● ARCHIVED · READ-ONLY
Started by Hellblades 3 posts View original ↗
  1. So, I would like to be able to be able to tag enemies as a type or element, something like Normal, Fire, etc. Not for the purpose of elemental weaknesses since I can handle that in the Element Rate sections, but for something more like handling a common event for a skill. I was wondering if there would be a way to maybe use a Variable or something to associate a certain enemy with a type or if I would have to use scripts to do so or what have you.

    To be honest, I'm trying to form a copy ability similar to Kirby games. So that's what my ability is trying to do, know what 'form' to change the main character into. If there's a way to assign a Variable to an enemy then it would be as simple as checking for 0-? numbers to different effects and boom, done. But it's that first part I'm not so sure how to go about doing.
  2. Tagging enemy is easy as it sounds actually. You can even start with random notetag on the enemy notebox without additional script. For example, you put <head> tag. It used for headshot skill, so that enemy tagged with <head>, attacked by headshot will get doubled damage. In damage formula, it will be like this.
    Code:
    b.enemy.note.include?("<head>") ? <headshot formula> : <normal formula>
  3. I see, so I can use a tag in the Note section and then use a script to locate that note. That's interesting. So I would just need to translate that into adjusting a variable to be read by an event then?