- Joined
- Jan 4, 2019
- Messages
- 563
- Reaction score
- 1,230
- First Language
- English
- Primarily Uses
- RMVXA
This is different from the other thread since I've technically already found what I want, but after testing I've found two interesting... caveats with Yami's Order Battlers script, to say the least.
Here's the code: YSA Order Battlers
The first problem is that using the "enemy transform" function to change an enemy into another doesn't update the icon. This is pretty terrible, as there's a function in the script itself that lets you give enemies custom icons.
The second much larger problem is that hidden enemies showing up through "enemy appear" just... don't have icons at all? They're an empty space between the player and enemy icons yet are still counted in the turn order. This exact same thing happens when players or enemies are revived, since it removes their icons.
Maybe people who are better at Ruby than me can come up with some quick fixes for this? From what I understand there needs to be refresh/update coding that tells the game the icons have changed, as the script already gets rid of dead actors/enemies from the turn order. Maybe that can be reverse engineered for this.
This is not a compatibility error, as I've stripped it down to just Yanfly Battle Engine (which itself I have not changed other than some colors and fonts) and Order Battlers in a fresh project and it still crops up unfortunately. If you guys can fix this, you'll have my infinite gratitude.
Here's the code: YSA Order Battlers
The first problem is that using the "enemy transform" function to change an enemy into another doesn't update the icon. This is pretty terrible, as there's a function in the script itself that lets you give enemies custom icons.
The second much larger problem is that hidden enemies showing up through "enemy appear" just... don't have icons at all? They're an empty space between the player and enemy icons yet are still counted in the turn order. This exact same thing happens when players or enemies are revived, since it removes their icons.
Maybe people who are better at Ruby than me can come up with some quick fixes for this? From what I understand there needs to be refresh/update coding that tells the game the icons have changed, as the script already gets rid of dead actors/enemies from the turn order. Maybe that can be reverse engineered for this.
This is not a compatibility error, as I've stripped it down to just Yanfly Battle Engine (which itself I have not changed other than some colors and fonts) and Order Battlers in a fresh project and it still crops up unfortunately. If you guys can fix this, you'll have my infinite gratitude.
Last edited: