Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Event Comment Conditionals
#1
Event Comment Conditionals
Version: 1.0

Introduction
This script creates new conditions for event pages.  In other words, you can have pages that change based on things like gold amount, weapon equipped, even actor parameters.

Features
  • use event comments to create new page conditions
  • conditions based on party gold amount
  • conditions based on party member having weapon or armor equipped
  • conditions based on having member of a specific class in party
  • conditions based on a number of a specific item
  • conditions based on a member being in a given state
  • conditions based on Ixfuru's Time script hours

Screenshots
[Image: UCp2Btd.png]

Script
"script"

Instructions
Plenty of instructions inside the script!   But basically, you have to use an event's 'Comment' option on a new page and then use one of the following tags inside the comment in order to set the page's condition:
(Make sure you include the '<>' arrows in the comment tag!)

Tags
Code:
<cc_wpn weapon_id>
replace the 'weapon_id' with the ID of the weapon someone in the party requires

Code:
<cc_arm armor_id>
replace the 'armor_id' with the ID of the armor someone in the party requires

Code:
<cc_stt state_id>
replace the 'state_id' with the ID of the state someone in the party must be under

Code:
<cc_par par_id, par_amount>
In this tag, it will only check the leader of the party!
Simply, replace the 'par_id' with one of the following values to determine which parameter you want to base the condition from:

0 : ATK
1 : DEF
2 : MAT
3 : MDF
4 : AGI
5 : LUK
6 : MHP
7 : MMP
8 : EXP

Then, replace 'par_amount' with the value the given parameter should be equal to or above in order to activate the condition.

Code:
<cc_g gold_amount>
replace the 'gold_amount' with the amount of gold the party should have in order to activate the page

Code:
<cc_in item_id, item_number>
replace the 'item_id' with the ID of the item the party must have; replace the 'item_number' with the amount of the given item the party should have

Code:
<cc_cid class_id>
replace the 'class_id' with the ID of the class that a party member must be

The following two only work with Ixfuru's Time System!
[code<cc_hr before_after, hour>
Here, you can set the 'before_after' with either a one or a zero.  One signifies that the hour must be after the 'hour' value.  While zero signifies that the hour must be fore the 'hour' value.
Replace the 'hour' with the hour it must be before or after.

Code:
<cc_sch lo_hour, hi_hour>
In this tag, you are able to activate an event's page based on whether or not the hour of the $time system is between the
value you place at 'lo_hour' and the value you place at 'hi_hour'.

Compatibility
This script only aliases one method, so it should be compatible with just about anything.  If you find something that it doesn't work with, let me know.

Author's Notes
This is another one of those, 'I needed it, so I scripted it' script.  I set out to just script a comment conditional based on my time system for a project I was making, but ended up adding a bunch of stuff to it just for fun.

Terms and Conditions
You must credit me if you use this script even if it is modified by you or someone else.
In non-commercial games, it's free to use.  For commercial projects, I would just like a free copy and the credit!
Don't claim this is your script because it isn't!
And lastly, if you want to post the script on another site, you must have my permission first.
Reply }


Messages In This Thread
Event Comment Conditionals - by ixfuru - 08-04-2015, 05:41 PM
RE: Event Comment Conditionals - by kyonides - 08-05-2015, 01:17 AM
RE: Event Comment Conditionals - by ixfuru - 08-05-2015, 01:50 AM
RE: Event Comment Conditionals - by JayRay - 08-05-2015, 02:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Event Spawner Fixes DerVVulfman 8 15,596 01-02-2018, 05:48 AM
Last Post: DerVVulfman
   Event Location Saver 1.1 ixfuru 0 4,149 12-07-2016, 11:36 PM
Last Post: ixfuru
   SDK DVV Add-On: Event Comment Supplemental DerVVulfman 5 10,790 09-25-2016, 09:20 PM
Last Post: DerVVulfman
   DoubleX RMMV Popularized ATB Event DoubleX 2 5,251 02-20-2016, 04:52 AM
Last Post: DoubleX
   ELSA (Event Layering Script Advance) JayRay 0 5,478 02-25-2015, 04:15 AM
Last Post: JayRay
   Permanent Event Erase DerVVulfman 2 5,611 04-09-2013, 03:53 AM
Last Post: DerVVulfman
   Event Transparency DerVVulfman 6 10,730 03-09-2013, 06:00 AM
Last Post: DerVVulfman
   The Event Extenders Grimimi 2 6,150 09-01-2012, 05:54 AM
Last Post: Grimimi
   Call Map Event DerVVulfman 0 4,843 12-06-2011, 04:42 AM
Last Post: DerVVulfman
   Sue's Battle Comment Helel 0 5,520 12-12-2009, 10:20 AM
Last Post: Helel



Users browsing this thread: