じ☆ve冰风 发表于 2026-7-29 21:30:31

Random Enemies

Random Enemies​
Rexal​
 ​
Intro - While working on my project, I was getting rather annoyed at having to create tons of Troops just to add some variety to my encounters. So I made this little plugin.


http://i1379.photobucket.com/albums/ah138/Rexal/randomvar_zpsksigjaqt.gif

 ​
 ​
Feature -

- Have an enemy be switched out for another at the start of the battle.

Note tag -

Random Enemy: id,id,id,id,id,id,id,id,...

Place this tag inside the notes section of an enemy, and it'll randomly be a different enemy at the start of the battle.

There is absolutely no limit to the amount of enemyIDs you can set.
If you use 0, the enemy will cease to exist. If all enemies cease to exist, it'll try again, so there should be no instance of
the battle suddenly ending as soon as it starts. Just don't set this to only 0. It's not a good idea.

Using multiple of the same id will increase its chance of appearing.

Example: Random Enemy: 1,2,3,4,1,1,1,1,2,2,2,3,3,0

Future Plans -

- Let you be able to randomly position enemies.

- Random enemy stat variation.

Terms of Use - Free for commercial and non-commercial use.

Download - Here


本贴来自国际rpgmaker官方论坛作者:Rexal处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/random-enemies.48224/
页: [1]
查看完整版本: Random Enemies