じ☆ve冰风 发表于 2026-7-26 10:48:28

[SSG] Encounter Condition

Encounter Condition​
version 1.0.0​
by Heartbreak61​
 
INTRODUCTION​
 
I don't know if this kind of script already exist. Actually, this script was intended for myself then I decided to share it, who knows if anyone out there will find this plugin useful.
 
Few days ago, I just realized that I have no option to set any condition on random encounters. Then I decided to make this simple stupid plugin to add conditions to random encounters. This plugin only uses switch as condition.

To use this plugin, write following lines (not case sensitive) on map's notebox

 
                Code:       
<encounterCondition>troop <ID> = switch <Number> <ON or OFF><\/encounterCondition>

 
example
 
 
                Code:       
<encounterCond>troop 2 = switch 1 ONtroop 3 = switch 1 OFF... etc<\/encounterCond>

 
using example above, player will have chance to meet troop 2 ONLY when switch 1 is ON and to meet troop 3 ONLY when switch 1 is OFF.
 
FEATURES
- Simple setup​
 
SCREENSHOT

https://dl.dropboxusercontent.com/u/75708618/RPG%20Maker%20MV%20Plugin/SSG_EncounterCondition/Screenshot.PNG

 
HOW TO USE
Right click and save the download link. Put on plugin folder. Enable it on plugin manager. Setup your map notebox. And you're good to go.​
 
DEMO
N/A

OLDER DEMOS:
N/A

SCRIPT (right click and save)
Download

FAQ
Nothing yet

TERM OF USE
Free to use on both commercial or non-commercial project as long as you give credits to me.
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7​
 
CHANGELOG​
2015.12.10 ver 1.0.0
- Created and finished the script

Author's note:
At first, I want to create complex condition such as variables, actor's level, actor's equip, etc. But then I think, screw that, complex condition can be easily done using events. So I decided to keep this plugin simple.


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