[SSG] Encounter Condition

[simple Stupid Gaming] 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
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. 😉​
 
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.
Great plugin! Does the troop number correspond to the number on the troop tab or on the map?
@clitvin: its according to troop tab
In that case can I request a small addition to the plugin. Would it be too difficult to have the troop # display on the encounter list for the map for easy reference?
I'm afraid I don't understand your request.

Display it where? If you mean display troop ID map properties on the editor (like my screenshot above), then I couldn't help you since I believe modifying the editor is against the term of use (and I don't have any capabilities on doing that).
In that case can I request a small addition to the plugin. Would it be too difficult to have the troop # display on the encounter list for the map for easy reference?
You could just add 1, 2, 3, 4 to the front of each troops name manually in the database. Since the name doesn't show up in the game itself, it won't be strange to do it that way.
You could just add 1, 2, 3, 4 to the front of each troops name manually in the database. Since the name doesn't show up in the game itself, it won't be strange to do it that way.
that's brilliant... lol
You could just add 1, 2, 3, 4 to the front of each troops name manually in the database. Since the name doesn't show up in the game itself, it won't be strange to do it that way.
should've answer something like that, silly me XDDD
download link isn't working, any chance of a new link please? 🙂

Original thread: https://forums.rpgmakerweb.com/threads/ssg-encounter-condition.52656/